VC2005的应用程序,在XP下运行正常,在windows2003的服务器上就不能运行,该怎么处理
VC2005的应用程序,在XP下运行正常,在windows2003的服务器上就不能运行
一点程序就报:This application has failed to start because the application configuration is incorrect.Reinstalling the application may fix this problem.
请问下,这是怎么回事呀?
程序用到MFC了,有两个线程。
------解决方案--------------------
应用程序启动失败,因为其配置不正确。重新安装或许会解决此问题。
mfc的工程请使用静态编译版本
------解决方案--------------------
可能是些dll的版本不对,如crt库。
看看你manifest里用了什么版本号,然后看看windows2003上有没有那些dll,没有就自己带上。
------解决方案--------------------
一点程序就报:This application has failed to start because the application configuration is incorrect.Reinstalling the application may fix this problem.
请问下,这是怎么回事呀?
程序用到MFC了,有两个线程。
------解决方案--------------------
应用程序启动失败,因为其配置不正确。重新安装或许会解决此问题。
mfc的工程请使用静态编译版本
------解决方案--------------------
可能是些dll的版本不对,如crt库。
看看你manifest里用了什么版本号,然后看看windows2003上有没有那些dll,没有就自己带上。
------解决方案--------------------
- C/C++ code
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> </assembly>