I am trying to make a simple Message Box in C in Visual Studio 2012, but I am getting the following error messages
argument of type const char* is incompat
To make your code compile in both modes, enclose the strings in _T() and use the TCHAR equivalents
#include #include int WINAPI _tWinMain(HINSTANCE hinstance, HINSTANCE hPrevinstance, LPTSTR lpszCmdLine, int nCmdShow) { MessageBox(0,_T("Hello"),_T("Title"),0); return 0; }