Click here to Skip to main content
13,408,239 members (46,322 online)
Rate this:
 
Please Sign up or sign in to vote.
I have packaged the software is written in c #-winform and sql. then I installed it on windows xp. When running the program up it fails (null) is not valid Win32 application. How to fix this?
Posted 2-Jul-14 6:51am
Updated 2-Jul-14 8:12am
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

It seems that your application is targeting Win64 and you should change it to Wind32 (by using Visual Studio), then rebuild the solution and finally build the kit again.
  Permalink  
Comments
   
thanks you very much!
Raul Iloc 3-Jul-14 7:14am
   
Welcome, I am glad that I could help you!
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Possibly your version of Visual Studio doesn't support WinXP, see for instance, here: "xxxxxx.exe is not a valid Win32 application"[^].
  Permalink  
Comments
   
thanks very much!
CPallini 3-Jul-14 6:42am
   
You are welcome.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You obviously have a string incorrectly initialised somewhere in your code. Use your debugger to discover where that is.
  Permalink  
Comments
   
thanks you very much!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web01 | 2.8.180221.1 | Last Updated 2 Jul 2014
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100