首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

property "XXXX" not emitted because of invalid type,该如何解决

2012-03-05 
property XXXX not emitted because of invalid type还有://methodXXXXnotemittedbecauseofinvalidretur

property "XXXX" not emitted because of invalid type
还有:
//   method   'XXXX '   not   emitted   because   of   invalid   return   type   or   parameter   type

我的控件原来是ANSI版本的,导出没问题,后来改成ONICODE版本后,有好多函数和属性无法导出来,出现如题的错误。(用project-> add   to   project-> components   and   controls)

[解决办法]
应该是添加的一些字符串变量没有使用TCHAR的缘故吧.
如果直接用WCHAR 或 char的话,在同一个工程中通过改变编译实现是否是unicode版时会导致编译不通过.

热点排行