#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
MessageBox(NULL, "Good Morning", "BOO!!!", MB_OK);
return 0;
}
The debug-version uses afaik a dos-window.
...
Can anyone pls tell me how to get rid of that?