Author |
Topic |
|
MichaelM
New Member
7 Posts |
Posted - Mar 02 2004 : 1:58:53 PM
|
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
|
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 |
|
|
MichaelM
New Member
7 Posts |
Posted - Mar 03 2004 : 07:51:42 AM
|
My settings are: Auto list members - checked Use default IntelliSense when available - unchecked
|
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Mar 03 2004 : 11:37:59 AM
|
Does the CString problem occur in all files?
Try the Rebuild button on our Performance tab and restart your IDE. |
Whole Tomato Software, Inc. |
|
|
MichaelM
New Member
7 Posts |
Posted - Mar 04 2004 : 10:24:45 AM
|
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. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Mar 06 2004 : 10:55:44 AM
|
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 |
|
|
|
Topic |
|