#define WIN32_LEAN_AND_MEAN#include <windows.h>
#include <windowsx.h>int WINAPI WinMain(HINSTANCE hInstance,
   HINSTANCE hPrevInstance,
   LPSTR lpCmdline,
   int nCmdshow)
{
MessageBox(NULL,"There is only you!","My first program!",MB_OK|MB_ICONEXCLAMATION);
return 0;
}>------ 已启动生成: 项目: helloM, 配置: Debug Win32 ------
1>正在编译...
1>HelloM.cpp
1>e:\visual studio 2008\projects\hellom\hellom\hellom.cpp(11) : error C2664: “MessageBoxW”: 不能将参数 2 从“const char [19]”转换为“LPCWSTR”
1>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>生成日志保存在“file://e:\Visual Studio 2008\Projects\helloM\helloM\Debug\BuildLog.htm”
1>helloM - 1 个错误,0 个警告
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========为什么是调用:MessageBoxW 呢??