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
 Bugs on CString of VA 1541?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

wuj
New Member

2 Posts

Posted - Nov 28 2006 :  11:01:14 PM  Show Profile  Reply with Quote
I find that VA 1541 can not recognize Class members of CString. For eg:

when I type "CString tmp; tmp.Form..." It should show "tmp.Format" but it gives "tmp.Formatmessage".
I still use VC6 with Visual Assist 1541.

Is that a bug? The old version 1445 works fine.

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Nov 29 2006 :  1:14:27 PM  Show Profile  Reply with Quote
So far I cannot reproduce this problem. Do you have:

VA Options -> Text Editor -> listboxes -> Get content from default Intellisense

turned on or off? I am using the code:

#include <afx.h>

static void testStringFunctions()
{
    CString sName;
    sName;
}


When I type the dot after sName I am seeing both Format and FormatMessage in the list. Using alt-g to jump into "afx.h" both Format and FormatMessage have the same style declaration, so it does not make much sense you would see one but not the other.

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

wuj
New Member

2 Posts

Posted - Nov 30 2006 :  11:59:43 PM  Show Profile  Reply with Quote
Hi feline,
I have VA Options -> Text Editor -> listboxes -> Get content from default Intellisense turned off.
Maybe you can reproduce it like this: first create a new dialog based project named ttt, then goto you tttDlg.cpp and add code like this:

void CTttDlg::testStringFunctions()
{
    CString sName;
	sName.	
}

void testStringFunctions()
{
    CString sName;
	sName.	
}


The first 'sName.' list box does not appear, and the second list box appear. I do not know why? The difference is the first is below to the class "CTttDlg".
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Dec 01 2006 :  09:45:45 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description. This is very odd, and based on my initial tests it only happens in VC6.

case=3887

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 - Dec 19 2006 :  9:08:54 PM  Show Profile  Reply with Quote
case=3887 is fixed in build 1543
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