一个简单的MessageBox问题
MessageBox("123");在vc6中编译了好好的
但是到了vc2005中就报错
error C2664: 'CWnd::MessageBoxW' : cannot convert parameter 1 from 'const char [3]' to 'LPCTSTR'Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
MessageBox(LPCTSTR("123"));编译能够通过,但是乱码。