Windows API - Beginner help
Posted
by nXqd
on Stack Overflow
See other posts from Stack Overflow
or by nXqd
Published on 2010-03-13T09:56:18Z
Indexed on
2010/03/13
10:05 UTC
Read the original article
Hit count: 436
windows-api-code-pack
I try to create a very simple app using windows API.
I've done some small apps in console. This is the first time I do with Win32 apps. I've searched and found a document from forgers which is recommended in this site. But I try to write very first line:
#include <stdafx.h>
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
MessageBoxW (NULL, "Good bye Cruel World", "Note", MB_OK );
return 0;
}
But it doesn't work ( erased lines from default project created by VS 2008 and write these lines ) Waiting for your answers :)
© Stack Overflow or respective owner