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
 Invalid dot operator correction
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

kevinsikes
Tomato Guru

USA
271 Posts

Posted - Apr 19 2004 :  11:19:55 AM  Show Profile
Both VA X build 1229 and 6.0 build 1106 incorrectly replace a dot operator with a pointer-to-member operator (->) in the following context:

There is one difference; in 6.0 you may hit backspace and the pointer-to-member operator reverts back to the dot operator. It does not in VA X.

I realize this is not standard coding practice (after all, why dereference a pointer and then use the dot operator?), I only ran across this while doing some performance testing.

(In case the graphic does not come through here is the text:)

   MYSTRUCT foo;
   LPMYSTRUCT pFoo = &foo;
   foo.nIndex = 0;
   (*pFoo)->nIndex = 1; // wrong, should be dot operator

VA_X.dll file version 10.0.1229.0
VAOpsWin.dll version 1.0.0.44
MSDev.exe version 6.0.9782.2
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Courier -13(Pixels)
Comctl32.dll version 5.82.2800.1106
WindowsNT 5.1 Build 2600 Service Pack 1
Single processor

Platform: Win32 (x86)
Stable Includes:
c:\\sdkjul02\\include;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
c:\\ntddk\\inc;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;

Other Includes:




Kevin Sikes
Infotainment Platform Design Engineer
Ford Motor Company

support
Whole Tomato Software

5566 Posts

Posted - Apr 19 2004 :  2:49:03 PM  Show Profile
We can reproduce the problem with undo of dot to ->, but only sporadically. Undo and backspace do not always work. They erase the -> and fail to leave a dot.

We suspect the problem is isolated to V++ 6.0. We are looking for a fix.

Whole Tomato Software, Inc.
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