API 函数MessageBox
头文件 Windows.h
安装2008的MSND,参考这里
ms-help://MS.MSDNQTR.v90.chs/winui/winui/windowsuserinterface/windowing/dialogboxes/dialogboxreference/dialogboxfunctions/messagebox.htm
很清楚
将MessageBox(NULL,"内容","HelloWin",0);
写成::MessageBox(NULL,"内容","HelloWin",0);试试
(LPCTSTR)"内容" 这样行不??