在VS2010中定制ClassWizard [英] Customising ClassWizard in VS2010

查看:369
本文介绍了在VS2010中定制ClassWizard的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

随着VS2010 SP1的到来,我再次期待将VS2008移动到更新的版本。这个的主要原因是,作为一个很长的VC6用户,我发现ClassWizard是一个伟大的生产力工具,并欢迎它的期待已久的回报。但是,虽然ClassWizard工作正常,我找不到任何等效的。创建自定义DDX例程所需的CLW文件。因此,例如,当定期处理VC6中输入长度时,我会在我的CLW文件中有以下几行。

With the advent of VS2010 SP1, I'm once again looking at moving off VS2008 to the newer version. The main reason for this, is that as a long time VC6 user, I find ClassWizard to be a great productivity tool, and welcome its long awaited return. However, while ClassWizard works ok, I can't find any equivalent of the .CLW file necessary for creating custom DDX routines. So for example, when regularly dealing with inputting lengths in VC6, I would have the following lines in my CLW file

ExtraDDXCount=1
ExtraDDX1=E;;Length;double;0.0;Length;Atlas:Use to store lengths;;&Length;s

这将允许从ClassWizard添加长度变量。任何想法,如果这仍然支持VS2010,还是我们另一年的追赶VC6?

which would let add length variables from ClassWizard. Any idea if this is still supported in VS2010, or are we another year away from catching up with VC6?

推荐答案

答案是不与VS2010。我想看到ClassWizard从自定义类支持虚拟方法,但显然它有一个未知的数据库类,它知道或可以弄清楚。

I believe the answer is "Not with VS2010". I would like to see the ClassWizard support virtual methods from custom classes, but apparently it has a undocumented database of classes it knows about, or can figure out.

这篇关于在VS2010中定制ClassWizard的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆