Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 C++/CLI: "Create Implementation"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dgehri
Senior Member

Switzerland
43 Posts

Posted - Jul 31 2007 :  08:32:20 AM  Show Profile  Reply with Quote
Hello,

When programming in C++/CLI, I noticed that VA.X incorrectly determines the class name of "abstract" or "sealed" classes:

public ref class Arc sealed : public Shape
{
public:
    void test();
};


When clicking on "test()" and selecting "Create Implementation", VA.X generates:


void sealed::test()
{

}


- Daniel

feline
Whole Tomato Software

United Kingdom
17027 Posts

Posted - Jul 31 2007 :  10:01:39 AM  Show Profile  Reply with Quote
I am seeing the same effect here with "sealed" classes. Thank you for the clear description.

case=3293

However I cannot reproduce any problems with "abstract" classes. Does this only happen under some specific conditions?

As a temporary work around edit VA's "StdAfx.h" file as explained in this FAQ entry:

http://docs.wholetomato.com?W302

and add the entry:

#define sealed

at the bottom. This file is used to help VA's parser with difficult code, and can be used to work around odd effects. After modifying this file you need to rebuild the VA symbol database for the changes to take effect:

VA Options -> Performance -> General -> Rebuild symbol databases

I have tested this with your example and the it works for me in VS2005 with VA 1559.

zen is the art of being at one with the two'ness
Go to Top of Page

dgehri
Senior Member

Switzerland
43 Posts

Posted - Jul 31 2007 :  10:18:55 AM  Show Profile  Reply with Quote
Sorry, no problem with abstract either. Thanks a lot for the workaround!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17027 Posts

Posted - Jul 31 2007 :  12:18:09 PM  Show Profile  Reply with Quote
Well that's good news

If you run into a similar problem with another keyword the same workaround should fix it.

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 29 2012 :  1:23:45 PM  Show Profile  Reply with Quote
case=3293 is fixed in build 1901
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000