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
 CString problems with 1218
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MichaelM
New Member

7 Posts

Posted - Mar 02 2004 :  1:58:53 PM  Show Profile
Is anyone else having CString dot-completion problems with 1218?
1216 was working fine, but now none of the CString functions come up.

Edit: in VS.NET 2003

Edited by - MichaelM on Mar 02 2004 1:59:45 PM

support
Whole Tomato Software

5566 Posts

Posted - Mar 02 2004 :  7:50:50 PM  Show Profile
We can produce a similar problem with 1218 when "Use Default Intellisense" is checked on the C/C++ node of our options dialog and "Auto list members" is unchecked in Tools|Options|Environment|Text Editor|All Languages. With such options, you tell VA X to let the IDE display listboxes, then tell the IDE not to display automatically.

With such a setup, Ctrl+Space forces open a listbox.

Try Ctrl+Space, make sure the option is checked in the IDE options dialog, or uncheck "Use Default Intellisense" in the VA X dialog.

Whole Tomato Software, Inc.

Edited by - support on Mar 02 2004 7:57:13 PM
Go to Top of Page

MichaelM
New Member

7 Posts

Posted - Mar 03 2004 :  07:51:42 AM  Show Profile
My settings are:
Auto list members - checked
Use default IntelliSense when available - unchecked
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 03 2004 :  11:37:59 AM  Show Profile
Does the CString problem occur in all files?

Try the Rebuild button on our Performance tab and restart your IDE.

Whole Tomato Software, Inc.
Go to Top of Page

MichaelM
New Member

7 Posts

Posted - Mar 04 2004 :  10:24:45 AM  Show Profile
This does occur in all files.
I've rebuilt and cleaned many times (first thing I tried).

I used ot have this problem often with VA.NET, but I was really excited that it was working correctly in 1216.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 06 2004 :  10:55:44 AM  Show Profile
There are numerous definitions of CString. The versions VA X sees depend on the headers you include, the arrangement of files in your project, and the order in which you open your files (which changes from day to day.)

Try adding the following lines to stdafx.h in the Misc subdirectory of the VA X installation directory. The header is parsed before any files in your project, and its content persuade VA X to parse subsequent headers in a more meaningful manner. Press Rebuild on the Performance node of our options dialog and restart your IDE.

namespace ATL
{
typedef ATL::CStringT ATL::CSimpleStringT CString;
};

Whole Tomato Software, Inc.

Edited by - support on Mar 06 2004 5:10:36 PM
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