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++ symbols in C# auto-complete
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MHolmes
New Member

USA
6 Posts

Posted - Oct 05 2006 :  10:16:54 AM  Show Profile  Reply with Quote
VA_X.dll file version 10.3.1534.0 built 2006.09.02
Licensed to:
VA X: [email protected] (1-user license) Support ends 2007.08.04
VAOpsWin.dll version 1.3.3.6
VATE.dll version 1.0.5.8
DevEnv.exe version 8.0.50727.42
msenv.dll version 8.0.50727.42
Font: Courier New 13(Pixels)
Comctl32.dll version 6.0.2900.2180
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;

Other Includes:


Yesterday, basically while I was working (VS2005 was never closed), VAX started showing me C++ symbols in my C# code. I would type 'm_' to get an auto-complete of my members, and all the sudden I was seeing C/C++ defines like META_SETVIEWSTATE and such. Things like CString were suddenly showing up in my C# auto-completes. It only seems to happen when I do 'm_', other symbols work as expected.

What would cause this?

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Oct 05 2006 :  11:36:39 AM  Show Profile  Reply with Quote
that should not happen, and i don't know of anything that would make this happen.

do you have more than one IDE open?
when typing "m_" do the suggestions have question mark icons? this would make a small degree of sense.
what happens if you press CTRL-SPACE on one of these lists?
are you working in a pure C# solution, or does it also contain C++ code?

if you are seeing question mark icons then my first guess is that VA's symbol database has become somehow corrupt. if so telling VA to rebuild the database:

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

and restarting the IDE should help. however if these are normal CTRL-SPACE listboxes then this may not help.

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

MHolmes
New Member

USA
6 Posts

Posted - Oct 05 2006 :  11:48:42 AM  Show Profile  Reply with Quote
No question marks, the symbols are very much defined. I've rebuilt the symbol database since this happend.

We don't even work with C++ in the office, pure C#/ASP.NET house. The oddest part was how the symbols just showed up mid-session. I never closed my IDE (I never really do, unless I need to). I restarted the IDE this morning and rebuilt the symbols database. I updated to the 9/15 release of VAX, no luck. I am still getting strange C++ symbols when I am looking for auto-completes for my members. These are regular CTRL + SPACE listboxes. I will be happy to post a screen shot if that will help you get a sense of what I mean.

The most annoying part is that if I type something like "m_View", then press ".", it will auto-complete to something wonky like META_SETVIEWPORTEXT. Oddly, if I actually try and type "META_" nothing comes up in the auto-complete at all. Only when I do "m_" do I get basically all of the #define's the Win32 API defines that start with 'm' in my auto-complete box.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Oct 05 2006 :  12:18:17 PM  Show Profile  Reply with Quote
please, a screen shot might help. VA does not generate the items in the completion listboxes, this information comes from the IDE its self.

when you press dot and get "m_View" converted is there any sort of listbox on the screen that is being accepted?

zen is the art of being at one with the two'ness
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