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
 C++ VS6 1530 '.' (DOT) Operation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Wrongway
Tomato Guru

USA
129 Posts

Posted - Jul 12 2006 :  10:21:24 AM  Show Profile  Reply with Quote
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.

Wrongway

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Jul 15 2006 :  1:38:02 PM  Show Profile  Reply with Quote
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?

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

Wrongway
Tomato Guru

USA
129 Posts

Posted - Jul 18 2006 :  11:03:14 AM  Show Profile  Reply with Quote
No other plugins and it is an old project.

Wrongway
Go to Top of Page

Wrongway
Tomato Guru

USA
129 Posts

Posted - Jul 18 2006 :  2:00:16 PM  Show Profile  Reply with Quote
It actually did do the -> on a CString object.

Wrongway
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Jul 18 2006 :  8:00:23 PM  Show Profile  Reply with Quote
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.

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

cgough
Senior Member

27 Posts

Posted - Jul 21 2006 :  09:11:24 AM  Show Profile  Reply with Quote
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++

Go to Top of Page

Wrongway
Tomato Guru

USA
129 Posts

Posted - Jul 21 2006 :  09:56:26 AM  Show Profile  Reply with Quote
Ditto for me also... I don't think the "Boss" will allow for redoing 102 projects in a solution.

Wrongway
Go to Top of Page

cgough
Senior Member

27 Posts

Posted - Jul 21 2006 :  4:50:01 PM  Show Profile  Reply with Quote
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!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Jul 22 2006 :  1:50:45 PM  Show Profile  Reply with Quote
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.

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

cgough
Senior Member

27 Posts

Posted - Aug 01 2006 :  3:39:09 PM  Show Profile  Reply with Quote
I with Wrongway it's back. The (ARROW) -> when it should be a DOT(.) is quite annoying.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Aug 01 2006 :  6:47:56 PM  Show Profile  Reply with Quote
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?

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

Wrongway
Tomato Guru

USA
129 Posts

Posted - Aug 04 2006 :  4:52:26 PM  Show Profile  Reply with Quote
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 (->).

Wrongway
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