#include <Windows.h> #include <tchar.h> INT WINAPI _tWinMain( _In_ HINSTANCE hInstance, // handle to current instance _In_opt_ HINSTANCE hPrevInstance, // handle to previous instance _In_ LPTSTR lpCmdLine, // command line _In_ INT nShowCmd) // show state { MessageBox(NULL, TEXT("Windows Aplication"), TEXT("HELLO WORLD"), MB_OK); return 0; }
Windows程序设计之Hello World示例
Leave a reply