I'm trying to use the compiler Visual Studio Express 2008, yet a sample program that worked for Dev C++ and is supposed to work with VC++.
http://www.winprog.org/tutorial/simple_window.html.
I've just copy pasted to get around any mistypes, but i keep getting 4 errors:
.\first_vc.cpp(40) : error C2440: '=' : cannot convert from 'const char [14]' to 'LPCWSTR'
.\first_vc.cpp(46) : error C2664: 'MessageBox' : cannot convert parameter 2 from 'const char [28]' to 'LPCTSTR'
.\first_vc.cpp(57) : error C2664: 'CreateWindowExW' : cannot convert parameter 2 from 'const char [14]' to 'LPCWSTR'
.\first_vc.cpp(61) : error C2440: 'initializing' : cannot convert from 'const char [24]' to 'LPCTSTR'
.\first_vc.cpp(63) : error C2664: 'MessageBox' : cannot convert parameter 3 from 'const char [7]' to 'LPCTSTR'
there seems to be some kind of conversion error like VC++ can't handle Char's.
Thanks for any help