头文件如下#include 写法如下MessageBox(NULL,TEXT("haha"),TEXT("hehe"),MB_OK);如果不是Unicode项目MessageBox(NULL,"haha","hehe",MB_OK);