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
 VA dont know local Class variables and their types
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

PanicMan
New Member

Germany
8 Posts

Posted - Sep 07 2005 :  08:55:13 AM  Show Profile
Hello!

Somehow confusing, if i have local variables, their were shown correctly.
In the header file it shows the variables correctly, too:


but in the cpp-file of this Object, their are unknown:


And if i put something in from intelisense it goes completely wrong:


Is this a well known Bug? Or did I set some Settings wrong?

Thanks

My infos:
-----------------------------
VA_X.dll file version 10.1.1418.0
VAOpsWin.dll version 1.2.0.4
MSDev.exe version 6.0.8168.2
Devshl.dll version 6.0.8798.0
Devedit.pkg version 6.0.8447.0
Font: Courier -13(Pixels)
Comctl32.dll version 5.82.2900.2527
WindowsNT 5.1 Build 2600 Service Pack 2
2 processors

support
Whole Tomato Software

5566 Posts

Posted - Sep 07 2005 :  6:29:51 PM  Show Profile
Does your cpp include your header?

If you click on your include statements, does the full pathname of the correct header appear in the definition field?

Have you saved the files in your example or are they brand new? In other words, is the problem contained to a specifc set of source and headers?
Go to Top of Page

PanicMan
New Member

Germany
8 Posts

Posted - Sep 08 2005 :  04:40:10 AM  Show Profile
quote:
Originally posted by support

Does your cpp include your header?



Yes it does.

quote:
Originally posted by support
If you click on your include statements, does the full pathname of the correct header appear in the definition field?


Yes it does.

quote:
Originally posted by support
Have you saved the files in your example or are they brand new? In other words, is the problem contained to a specifc set of source and headers?


I've saved them all and compiled. Everything ok. This happends an ALL Projects and Classes.

BTW: With VA 4.1 (on other Machine) this not happends.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 08 2005 :  6:04:44 PM  Show Profile
any other addin's installed?
what happens if you create a new project? does this also have the problem?
is this a new problem? if so, what happened to trigger it?

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

PanicMan
New Member

Germany
8 Posts

Posted - Sep 09 2005 :  04:09:35 AM  Show Profile
Hello!

No other Addins installed.

If I create a new simple MFC-Project, then VA know the default Member Variables, if I insert new Edit-Field with a Membervariable it takes a long time until VA recognise it.
But if I type this CString Member with DOT at and, it give me no Member-Methods list, neither if I press STRG+SPACE.
In this new Project, VA dont even know the simplest Methods, like UpdateData(), it is red-underlined.

I woked bevore with Visual Studio .Net 2003, there VA worked fine.
This described Problems happends since i changed to other (new) workstation with (only) Visual Studio 6.0 Enterprise Edition (no Service Packs) and WinXP Pro on it.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 10 2005 :  1:59:12 PM  Show Profile
what version of VC6 were you using before? it is almost as if VA does not work properly with VC6 enterprise edition, which does not sound right.

if you disable VA and try the code:

CString sTest;
sTest.|


what happens? what happens when you press CTRL-SPACE? does turning on or off the VA option text editor -> listboxes -> get content from default intellisense
have any effect on this?

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

PanicMan
New Member

Germany
8 Posts

Posted - Sep 12 2005 :  06:43:14 AM  Show Profile
quote:
Originally posted by feline

what version of VC6 were you using before? it is almost as if VA does not work properly with VC6 enterprise edition, which does not sound right.


I used VC7 before, VS.NET. It ist the fist time i use VAX with VS6.

quote:
Originally posted by feline
if you disable VA and try the code:

CString sTest;
sTest.|


what happens? what happens when you press CTRL-SPACE? does turning on or off the VA option text editor -> listboxes -> get content from default intellisense
have any effect on this?


what happens? Nothing
what happens when you press CTRL-SPACE? I hear a "Ping"-Sound (Windows XP-Ping.wav), nothing happends
No, turning on (and then turning on VA again) has no effect...


Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 12 2005 :  5:21:13 PM  Show Profile
with VA enabled what happens of you use VA's alt_g on the class name "CString"? this should work, but if it does not can you post the information from:

VA options -> about -> copy info

you have posted some of this already at the top of this thread, but there should be three other headings, hopefully with entries, "Stable Includes", "Library Includes" and "Other Includes"

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

PanicMan
New Member

Germany
8 Posts

Posted - Sep 13 2005 :  06:07:33 AM  Show Profile
What you mean with "use VA's alt_g on the class name CString" ???
If I press ALT_GR on it, nothing happends, ALT_GR+RightMouseClick nothing happends, too. Or did you mean something else?
The Contens and Definition Field at top shows correctly: CString | class CString {...}

Here the full Info:
--------------------------------------------------
VA_X.dll file version 10.1.1418.0 built 2005.06.24
VAOpsWin.dll version 1.2.0.4
MSDev.exe version 6.0.8168.2
Devshl.dll version 6.0.8798.0
Devedit.pkg version 6.0.8447.0
Font: Courier -13(Pixels)
Comctl32.dll version 5.82.2900.2527
WindowsNT 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32 (x86)
Stable Includes:
C:\\PROGRAMME\\MSSDK\\INCLUDE;
C:\\Programme\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Programme\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Programme\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\ORANT817\\OCI\\INCLUDE;
C:\\ENTWICKLUNG\\TOOLS\\LTWIN90X\\INCLUDE;
C:\\ENTWICKLUNG\\TOOLS\\MATROX\\MIL\\INCLUDE;
C:\\ENTWICKLUNG\\TOOLS\\OBJG601_98\\INCLUDE;
C:\\ENTWICKLUNG\\TOOLS\\OBJT512_98_20020720\\INCLUDE;
C:\\ENTWICKLUNG\\TOOLS\\SENTRYSDK\\INCLUDE;
S:\\MEDFOLIO;
S:\\NXLIB;
C:\\ENTWICKLUNG\\Tools\\RegEx++;

Library Includes:
C:\\Programme\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Programme\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Programme\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Programme\\Microsoft Visual Studio\\VC98\\CRT\\SRC;

Other Includes:

Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Sep 13 2005 :  08:08:44 AM  Show Profile
He meant you should put the caret within CString and press ALT + G.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 13 2005 :  6:56:21 PM  Show Profile
PanicMan i was referring to VA's "go to" feature, hopefully WannabeeDeveloper comments helped. you should be taken to the .h defining CString, which on my machine is:

C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\Include\\AFX.H

this directory is in your "Library Includes:" list, so this should work. if VA cannot find the header this would explain why it cannot list the class members for a CString instance.

if you open VA's "Open Files In Workspace" dialog does it list the files correctly? or does the title bar say that it is still parsing files?

i am trying to gather clues as to what is happening in this case.

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 14 2005 :  01:59:36 AM  Show Profile
PanicMan - are you in a position to be able to try the 1422 beta?
Go to Top of Page

PanicMan
New Member

Germany
8 Posts

Posted - Sep 14 2005 :  08:47:39 AM  Show Profile
Ok, WannabeeDeveloper's comment helped.

If I press Alt+G on CString he correctfully jumps to:
C:\\Programme\\Microsoft Visual Studio\\VC98\\MFC\\Include\\AFX.H

If I open VA's "Open Files In Workspace" dialog it lists all the files correctly.
The title bar say just "Open File in Workspace".

Sean: Sure, I'm able to test a new version. I'm just using a Trial Visual Assist X 10.1.1418.0 atm.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 14 2005 :  2:04:46 PM  Show Profile
You may still want to try the 1422 beta.

http://www.wholetomato.com/downloads/VA_X_Setup1422.exe
Go to Top of Page

PanicMan
New Member

Germany
8 Posts

Posted - Sep 15 2005 :  03:31:12 AM  Show Profile
Ok, downloaded it and installed.

But the problem keeps. May be it is more worse.

If I press ALT+G on a CString it jumps now to:
C:\\Programme\\Microsoft Visual Studio\\VC98\\Include\\CSTRING
witch is just an CString standard header...

And CString is now darkred, like a function and not blue, like a class.

CString root;
root.|

If I try the code above, it changes the "." to an "->" but gives no list with members.

Enabling "Get contens from default intellisense" has no effect.

Any other Ideas?
Go to Top of Page

PanicMan
New Member

Germany
8 Posts

Posted - Sep 15 2005 :  04:02:38 AM  Show Profile
After rebuilding symbol databases, it seems to work correct. The problems above are gone.

CString test;
//1
test.|

//2
test::|

With "Get contens from default intellisense" I get nothing at the first case, at the second case, I get the Member-List. If I turn it off, it works fine now.

If I recognise some errors, i will post them here.

Thanks a LOT!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000