Author |
Topic |
|
PanicMan
New Member
Germany
8 Posts |
Posted - Sep 07 2005 : 08:55:13 AM
|
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
|
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? |
|
|
PanicMan
New Member
Germany
8 Posts |
Posted - Sep 08 2005 : 04:40:10 AM
|
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. |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 08 2005 : 6:04:44 PM
|
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 |
|
|
PanicMan
New Member
Germany
8 Posts |
Posted - Sep 09 2005 : 04:09:35 AM
|
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. |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 10 2005 : 1:59:12 PM
|
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 |
|
|
PanicMan
New Member
Germany
8 Posts |
Posted - Sep 12 2005 : 06:43:14 AM
|
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...
|
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 12 2005 : 5:21:13 PM
|
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 |
|
|
PanicMan
New Member
Germany
8 Posts |
Posted - Sep 13 2005 : 06:07:33 AM
|
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:
|
|
|
WannabeeDeveloper
Tomato Guru
Germany
775 Posts |
Posted - Sep 13 2005 : 08:08:44 AM
|
He meant you should put the caret within CString and press ALT + G. |
|
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 13 2005 : 6:56:21 PM
|
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 |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Sep 14 2005 : 01:59:36 AM
|
PanicMan - are you in a position to be able to try the 1422 beta? |
|
|
PanicMan
New Member
Germany
8 Posts |
Posted - Sep 14 2005 : 08:47:39 AM
|
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. |
|
|
support
Whole Tomato Software
5566 Posts |
|
PanicMan
New Member
Germany
8 Posts |
Posted - Sep 15 2005 : 03:31:12 AM
|
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? |
|
|
PanicMan
New Member
Germany
8 Posts |
Posted - Sep 15 2005 : 04:02:38 AM
|
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! |
|
|
|
Topic |
|