#include "stdafx.h" #include #include using namespace std; class win32 { public: int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { MessageBox(NULL, L"Hello World!", L"Just another Hello World program!", MB_ICONEXCLAMATION | MB_OK); return 0; } }win32_api; ///////////////////////////////////////////////////////////////////////////////////////////////// // Asta e mainu de la proiect "console" ///////////////////////////////////////////////////////////////////////////////////////////////// int main() { win32_api.WinMain(0,0,0,0); }