I have app which I think needs Microsoft c++ libraries. This app makes a proxy, and probably uses proxy jobs module ( C ). I need to add only this proxy jobs module or files make this work, without installing Microsoft Visual C++ 2008 Redistributable Package (x86), because application needs to be open as a "Guest" without admin rights, and I can' instal that package. Anyone have solution for this problem? I was trying to find only the proxy jobs module but without success. When I try to run this app I get an error: Can't run this application because configuration is incorrect.
2 回答
I checked by tasklist command: tasklist /m /fi "IMAGENAME eq applicationame.exe" >C:/result.txt
I got result file:
ntdll.dll, wow64.dll, wow64win.dll, wow64cpu.dll
So these dll's dosent exists in http://msdn.microsoft.com/en-gb/library/vstudio/8kche8ah.aspx
and i think they're included in Windows Os, so any another idea why on another xp i got this error?
对运行时库使用静态链接。在 Visual Studio 2010 中(其他版本应该类似),进入这个配置设置:
项目属性 > 配置属性 > C/C++ > 代码生成 > 运行时库。
对于 Debug 配置,将其更改为 Multi-threaded Debug ( /MTd
),对于 Release,将其更改为 Multi-threaded ( /MT
)。
构成最终可执行文件的所有项目和依赖项都需要使用该/MT
选项进行编译才能正常工作。