Obviously i cant use the old new >> console application >> empty project
because it doesn't work, i tryed new >> win 32 project >> pre-compiled header and empty project but none work.
This is the source I am trying to compile :
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK | MB_SYSTEMMODAL);
return 0;
}
and usually i have to add "stdafx.h"
but i always get the error error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [22]' to 'LPCWSTR'
please help me i am so frustrated and just want to get making games again.