Hi
I've just started using Visual C++ 2008. I'd previously being using a
non-MS
compiler.
I get an error:-
error C2664: 'MessageBoxW' : cannot convert parameter 2 from
'const char [22]' to 'LPCWSTR'
for this line
MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK);
it then went on to suggest I needed a cast. I'd rather not do that if
I can avoid it
I note that I specified MessageBox() but the error specifies
MessageBoxW().
Have I somehow got some sort of wchar option turned on? I'd always
assumed
MessageBox would take normal C strings.
--
nick keighley