VC6.0代码移植到VC8.0问题

来源:互联网 发布:json xml 转换 编辑:程序博客网 时间:2024/06/05 06:34

问题1.

error C3867: 'CDialogMain::iGetServerArray': function call missing argument list; use '&CDialogMain::iGetServerArray' to create a pointer to member

 

问题中文描述:

error C3867: 'CDialogMain::iGetServerArray':函数调用缺少参数列表;请使用 '&CDialogMain::iGetServerArray' 创建指向成员的指针

 

将代码中的   JEDIFUNC_HANDLER_EX(getServerArray, iGetServerArray)

替换成         JEDIFUNC_HANDLER_EX(getServerArray, &CDialogMain::iGetServerArray)

 

问题2.

1>Linking...
1>CVTRES : fatal error CVT1100: duplicate resource.  type:MANIFEST, name:1, language:0x0409
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

 

解决方法:

打开rc文件,找MANIFEST,所属段或行全去掉。