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
 MC++ Supported?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

scottbilas
Ketchup Master

72 Posts

Posted - Mar 02 2009 :  4:02:43 PM  Show Profile  Reply with Quote
Is Managed C++ supported in VAX?

I'm using MC++ in VS.NET 2008 and have found all kinds of bugs. I'm wondering if I should report them.

For example, adding "sealed" after a class name will cause VAX to think the class name is illegal, and I get red curly underlines everywhere it appears in the code (this bug is particularly hard to avoid).


public ref class Utils sealed
{
};


At the least, if MC++ is not supported, then VAX should do no harm, i.e. don't underline stuff as errors in the code that aren't..

Scott

feline
Whole Tomato Software

United Kingdom
17027 Posts

Posted - Mar 03 2009 :  09:37:13 AM  Show Profile  Reply with Quote
In general VA is supposed to support Managed C++, but it does have some problems. To be fair VA also has some problems with normal C++ as well, its a complex language

sealed after a class is a known problem:

case=3293

The work around for this is to 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

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

scottbilas
Ketchup Master

72 Posts

Posted - Mar 11 2009 :  10:39:33 AM  Show Profile  Reply with Quote
Ok I did this and it worked great. Thanks!
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 29 2012 :  1:23:15 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