酷航 南京到新加坡:Windows API 的问题

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/28 20:28:04
#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"