Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef RELEASE_BUILD
- int WINAPI WinMain
- #else
- int WINAPI _WinMain
- #endif
- (HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR args, int nCmdShow){
- printf("Hello world!\n");
- return 0;
- }
- #ifndef RELEASE_BUILD
- int main(){
- return _WinMain(GetModuleHandleA(NULL),NULL,GetCommandLineA(),SW_SHOW);
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement