| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1497 人关注过本帖
标题:[原创]cannot convert from 'const char [9]' to 'LPCWSTR'??
只看楼主 加入收藏
high20033763
Rank: 1
等 级:新手上路
帖 子:85
专家分:0
注 册:2006-2-13
收藏
 问题点数:0 回复次数:0 
[原创]cannot convert from 'const char [9]' to 'LPCWSTR'??
为什么会这样呢??
HWND CreateWindow(      

LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam );
lpClassName stand for name of window classname,The explain are as Follow:
[in] Pointer to a null-terminated string or a class atom created by
a previous call to the RegisterClass or RegisterClassEx function.
The atom must be in the low-order word of lpClassName; the high-order
word must be zero. If lpClassName is a string, it specifies the
window class name. The class name can be any name registered with
RegisterClass or RegisterClassEx, provided that the module that
registers the class is also the module that creates the window. The
class name can also be any of the predefined system class names.
For a list of system class names, see the Remarks section
问题:hWnd=(HWND)CreateWindow("WinFill","填充示例程序",...
弹出如题目所示的错误,希望能得到各位高手的提示!!
搜索更多相关主题的帖子: convert cannot const char LPCWSTR 
2006-03-12 21:35
快速回复:[原创]cannot convert from 'const char [9]' to 'LPCWSTR'??
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.024939 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved