ITeye博客

[导入]最简单的Win32程序示例

wintys · 2009-03-18 12:02 · C++ · Windows · Blog · Markdown

最简单的Win32程序示例:

#include <windows.h>
int WINAPI WinMain (HINSTANCE hInstance,
                 HINSTANCE hPrevInstance,
                 PSTR szCmdLine,
                 int iCmdShow)
{
  MessageBox(NULL, "Hello, Win32!", "问候", MB_OK) ;  
 
  return 0 ;
}

文章来源:http://wintys.blog.51cto.com/425414/92287

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。