I have just started using vc++ 2008. I just want to see one message (dialog box). I have created my project as a win32 project application.
I wrote the code below to see a MessageBox
MessageBoxW(NULL, "Window Registration Failed!", "Error!", MB_ICONEXCLAMATION | MB_OK);
but I m getting an error
error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [28]' to 'LPCWSTR'
What is this error ? What do I need to do to see a simple message box display.