api_1_1

 1 #include <windows.h>
2 #pragma comment (lib, "User32.lib")
3
4 int WINAPI WinMain( HINSTANCE hInstance,
5         HINSTANCE hPrevInstance,
6      LPSTR lpCmdLine,
7      int nShowCmd )
8 {
9 MessageBox(NULL, TEXT("windows programming"), TEXT("MessageBox"), MB_OK);
10 return 0;
11 }
posted @ 2011-09-16 13:03  airzack  阅读(95)  评论(0)    收藏  举报