I am in this tutorial and it says to paste this
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK);
return 0;
}
but i keep getting this error:
error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [22]' to 'LPCWSTR'
I don't understand
Thank you
This post has been edited by deborah_morales1990: 17 November 2009 - 09:57 PM

New Topic/Question
Reply




MultiQuote




|