Created
July 18, 2018 09:52
-
-
Save mikerr/69a325a6aaeead790b290208bcee548e to your computer and use it in GitHub Desktop.
Simplest windows win32 GUI program ?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
int WINAPI winmain(HINSTANCE hinstance, | |
HINSTANCE hPrevInstance, | |
LPSTR lpszargument, | |
int nWindowStyle) | |
{ | |
MessageBox(HWND DESKTOP, | |
"Hello World", | |
"This is a simple Windows Program", | |
MB-OK); | |
return 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment