Running vc2008 debug builds on non-dev machines

后端 未结 3 2060
暖寄归人
暖寄归人 2021-01-03 05:02

I\'m building my app in vc2008 and testing it on a network of machines.

Is there any way, other than installing Visual Studio 2008, to run a debug build of a C++ pro

3条回答
  •  星月不相逢
    2021-01-03 05:44

    Of course you can always configure the program to statically link in the CRT in instead of using the DLL.

    That way you avoid the hassles (both in terms of setup and in terms of no redistribution license) of having to make sure the debug DLLs are properly installed.

    Just change the Code Generation setting for "Runtime Library" to "Multi-threaded Debug (/MTd)" or use the "/MTd" option on the command line.

提交回复
热议问题