//创建窗口
HWND hWnd = CreateWindow( L"ClassName", "三维字体",
WS_OVERLAPPEDWINDOW, 200, 100, 600,500,
GetDesktopWindow(), NULL, wc.hInstance, NULL );
报错
error C2664: 'CreateWindowExA' : cannot convert parameter 2 from 'unsigned short [10]' to 'const char *'
因为这段代码是在 vs2005写的 在vc6
去掉“L”
//创建窗口
HWND hWnd = CreateWindow( "ClassName", "三维字体",
WS_OVERLAPPEDWINDOW, 200, 100, 600,500,
GetDesktopWindow(), NULL, wc.hInstance, NULL );