Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 C++ VS6 1530 '.' (DOT) Operation

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Wrongway Posted - Jul 12 2006 : 10:21:24 AM
Build 1530 is always interpruting the (.) Dot operator to the (->) operator. Example

void CMyClass::Function( void ) {
CString text;
text.Format( ... );
}

When I press the (.) I expect the (.) but 1530 puts (->) and I need to hit the backspace to get rid of it.

Anyone else seen this.

VS 6.0
VA X Build 1530.
C++ project.
11   L A T E S T    R E P L I E S    (Newest First)
Wrongway Posted - Aug 04 2006 : 4:52:26 PM
The GetDlgItem() does not change the (.) to (->). I cannot remember if previous versions did this or not. Also, deleting the ncb file seemes to fix the CString (.) going to (->).
feline Posted - Aug 01 2006 : 6:47:56 PM
cgough if you are still on VS2003 then you may want to delete your NCB file, and with the IDE closed replace it with a zero length read only NCB file.

so long as you have content from default intellisense turned off this should not cause any problems, other than a warning dialog when loading the project. i always worked like this in VS2003, due to problems with corrupt NCB files.

for some reason VS2003 is quite capable of corrupting its NCB file all on its own *sigh*

if this does not help then how easily can you reproduce this effect? is it project specific?
cgough Posted - Aug 01 2006 : 3:39:09 PM
I with Wrongway it's back. The (ARROW) -> when it should be a DOT(.) is quite annoying.
feline Posted - Jul 22 2006 : 1:50:45 PM
Wrongway, can you try deleting your ncb file, to see if this helps?

the fact that this is project (more accurately solution) specific would be explained by a corruption problem with the ncb file. my original thinking was that there is something in the main solution that is confusing VA's parser.

cgough try changing your:

VA Options -> Text Editor -> listboxes -> get content from default intellisense

setting to see if that helps. if this is turned off then VA ignores the ncb file, and in fact you can quite happy work with a zero length read only ncb file to stop the IDE from making a new one.
cgough Posted - Jul 21 2006 : 4:50:01 PM
I deleted my ncb file in the project and when I reopened the project the ncb was built to about twice the size of the one I deleted. This seems to have helped out quite a bit. However now I get very little in the way of suggestions.

Doh!
Wrongway Posted - Jul 21 2006 : 09:56:26 AM
Ditto for me also... I don't think the "Boss" will allow for redoing 102 projects in a solution.
cgough Posted - Jul 21 2006 : 09:11:24 AM
I am also getting this (->) operator overwriting the (.). This is driving me insane. I specifically came to support to see if anyone else was having this issue, and what I could do about it.

I have tried a new project and it seems to work fine, but my existing project displays this behavior.

Any ideas?

VS.NET 2003
VA X Build 1530
Using C++

feline Posted - Jul 18 2006 : 8:00:23 PM
if you create a new, unnamed cpp file in the current project and copy / paste this code into it, do you get the same problem? if not then this would seem to suggest it is file, or perhaps project specific. it could even be something in a header file confusing VA.
Wrongway Posted - Jul 18 2006 : 2:00:16 PM
It actually did do the -> on a CString object.
Wrongway Posted - Jul 18 2006 : 11:03:14 AM
No other plugins and it is an old project.
feline Posted - Jul 15 2006 : 1:38:02 PM
i cannot reproduce this effect, using VC6 and VA 1530. does this happen in a new default project? i am guessing that something further up the source file is confusing VA.

do you have any other plugin's installed?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000