积极答复者
使用vs2010编译的工程在xp下报错(找不到msvcp100d.dll)

问题
答案
全部回复
-
使用的是纯windowsAPI,没有用到dotnet的东西, win7下编译使用的vs2010默认的sdk。
#include <Windows.h>
#include <WindowsX.h>
#include <commctrl.h>
#include "resource.h"
#pragma comment(lib, "Comctl32.lib")int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd )
{
InitCommonControls();
DialogBox(hInstance,
MAKEINTRESOURCE(IDD_DIALOG1),
NULL,
Dlg_Proc);return 0;
} -
动态链接了DLL的话要随程序发布DLL。VC的DLL也不例外。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP -
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已标记为答案 zxloong 2010年8月4日 1:35