修复此错误(null)无效的Win32应用程序 [英] fix this error (null) is not valid Win32 application

查看:178
本文介绍了修复此错误(null)无效的Win32应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打包的软件是用c#-winform和sql编写的。然后我在Windows XP上安装它。运行程序时,它失败(null)是无效的Win32应用程序。如何解决这个问题?

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?

推荐答案

您的应用程序似乎是针对 Win64 ,您应该将其更改为 Wind32 (使用Visual Studio),然后重建解决方案,最后再次构建工具包。
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.


可能是你的<$ c $版本c> Visual Studio 不支持 WinXP ,例如,请参阅:\"xxxxxx.exe不是有效的Win32应用程序 [ ^ ]。
Possibly your version of Visual Studio doesn't support WinXP, see for instance, here: "xxxxxx.exe is not a valid Win32 application"[^].


你显然有一个字符串错误地在代码中的某处初始化。使用调试器来发现它的位置。
You obviously have a string incorrectly initialised somewhere in your code. Use your debugger to discover where that is.


这篇关于修复此错误(null)无效的Win32应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆