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
 1624 - how to get rid of .NET symbols?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jan 14 2008 :  08:12:13 AM  Show Profile  Reply with Quote
VAX is showing me symbols from the .Net assemblies, although I am NOT using any of them, in fact its not even a managed C++ project.

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 14 2008 :  08:36:42 AM  Show Profile  Reply with Quote
Which symbols? Is this easily triggered?
I am not aware this is happening to me, but it could be I am just not noticing.

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

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jan 14 2008 :  08:42:05 AM  Show Profile  Reply with Quote
Basically symbols that exist in my code, but also in the .net libraries. It happens usually when there is a problem with MY namespace, like forgetting to add the correct namespace when using a symbol.

You can repro that probably by defining a symbol like feline::Exception and then use it without specifying the namespace. VAX should show it then as System.Exception instead.

Quite confusing when you have many symbols, many namespaces, and are transitioning legacy code, moving old code into namespaces.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 14 2008 :  1:18:53 PM  Show Profile  Reply with Quote
That makes sense. This is an interesting question, and I have asked:

case=11391

Do you work with C# or .NET ever? The "simplest" solution might just be to break VA's knowledge of .NET, but that is likely to do bad things if you ever code in C#, etc.

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

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jan 14 2008 :  1:31:29 PM  Show Profile  Reply with Quote
Yes, I do use .Net but not in all projects. So I would like to keep it out when not used.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 14 2008 :  1:59:58 PM  Show Profile  Reply with Quote
You probably know more about this than me. Is it possible to reference / use .NET from pure unmanaged C++ code?

The simplest method of "break VA" is clearly not going to work here. VA is designed to treat C++ and CLR C++ differently, so ignoring .NET symbols while in pure C++ sounds doable on paper, assuming the symbols are actually tagged as coming from .NET.

I am trying to keep the idea as simple as possible, and would like to avoid project specific settings, or anything like that if possible.

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

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jan 14 2008 :  2:20:50 PM  Show Profile  Reply with Quote
I guess its possible. Although why would anybody do that with IJW available? No, I am talking here about pure ISO C++ projects contra Managed C++ projects. While I expect the first to NOT show any symbols from the .Net framework, I hope they will show up in the other (if referenced).
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Apr 10 2008 :  12:53:11 AM  Show Profile  Reply with Quote
case=11391 is fixed in build 1632
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000