love in C++, live on MFC

to get ready...

C++博客 首页 新随笔 联系 聚合 管理
  47 Posts :: 0 Stories :: 97 Comments :: 0 Trackbacks

class wizard出错与c++语法出错没有关系

class wizard根据//{{来寻找插入函数的入口,所以,如果//{{出现的次数有多次,就出错了.
需要注意的是,几时是被注释掉的代码,对class wizard也有影响,虽然编译能通过.

参见http://www.codeguru.com/forum/archive/index.php/t-112218.html
Check that you have only one of each of these in MyClass.h:

//{{AFX_DATA(CMyClass)
//{{AFX_VIRTUAL(CMyClass)
//{{AFX_MSG(CMyClass)

...and that you have only one of each of these in MyClass.cpp:
//{{AFX_DATA_INIT(CMyClass)
//{{AFX_DATA_MAP(CMyClass)
//{{AFX_MSG_MAP(CMyClass)


文章来源:http://blog.csdn.net/flyingxu/archive/2006/02/09/594960.aspx
posted on 2006-02-09 17:56 flyingxu 阅读(2725) 评论(12)  编辑 收藏 引用

Feedback

# re: [导入]Class Wizard 出错: A duplicate insert block exists[未登录] 2007-07-11 17:26 111
在网上查了文章无数,总算这篇文章解决了问题,顶死你。  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists 2007-09-21 09:51 love you
I want kiss you .Thanks  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists 2007-12-04 16:53 ggf
Thanks  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists 2008-04-18 08:00 fe
ddd  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists 2008-05-30 15:25 陈刚
还是这篇文章来得直接明了,谢了!
顶上天。。。  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists 2008-07-13 14:16 Arcanist
我操!感谢楼主 解决了!注释掉的代码都会引起错误!  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists 2008-07-13 18:49 饭店老板
非常谢谢分享!  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists 2008-07-14 15:39 bch
太感谢了。。。这个问题我头都大了。。  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists[未登录] 2008-12-04 09:49 l
你是我人生的目标了  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists 2009-05-15 11:09 aq
太感谢了,这个问题让人头疼  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists 2009-08-19 15:31 lyl
非常感谢  回复  更多评论
  

# re: [导入]Class Wizard 出错: A duplicate insert block exists 2010-04-11 10:19 王国华
太感谢了!  回复  更多评论
  


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理