Click here to Skip to main content
15,886,840 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
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
Updated 2-Jul-14 7:12am
v2

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.
 
Share this answer
 
Comments
Lỗi Của Định Mệnh 3-Jul-14 6:02am    
thanks you very much!
Raul Iloc 3-Jul-14 7:14am    
Welcome, I am glad that I could help you!
Possibly your version of Visual Studio doesn't support WinXP, see for instance, here: "xxxxxx.exe is not a valid Win32 application"[^].
 
Share this answer
 
Comments
Lỗi Của Định Mệnh 3-Jul-14 6:01am    
thanks very much!
CPallini 3-Jul-14 6:42am    
You are welcome.
You obviously have a string incorrectly initialised somewhere in your code. Use your debugger to discover where that is.
 
Share this answer
 
Comments
Lỗi Của Định Mệnh 3-Jul-14 6:02am    
thanks you very much!

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900