诛仙手游伤心人是谁:Windows API 的问题

来源:百度文库 编辑:中科新闻网 时间:2024/05/14 00:59:27
#include <windows.h>

APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int CmdShow)
{
MessageBox(NULL,"Hello,World!","第一个Windows C程序",MB_OK|MB_ICONASTERISK);
}

这个程序怎么错了

编译可以通过,连接时错误

#include "stdafx.h"