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
 Encapsulate Field:wrong insert position (1531 VC6)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

peterchen
Tomato Guru

126 Posts

Posted - Aug 09 2006 :  08:44:08 AM  Show Profile  Reply with Quote
For the following code:
-------------------------------------------
struct CAppInstalledSciEngineInfo
{
protected:
bool m_bFileExists;
CDllVersion m_version;

public:
bool FileExists() const { return m_bFileExists; }
};
-------------------------------------------

and using "Encapsulate Field", I end up with the following:

-------------------------------------------
bool FileExists() const { return m_bFileExists; CDllVersion Version() const { return m_version; }
void Version(CDllVersion val) { m_version = val; }
}
-------------------------------------------

i.e. the code is inserted before the last closing brace

VA_X.dll file version 10.3.1531.0 built 2006.08.04
Licensed to:
VA X: ********** (1-user license) Support ends 2007.02.26
VAOpsWin.dll version 1.3.3.6
VATE.dll version 1.0.5.8
MSDev.exe version 6.0.8168.2
Devshl.dll version 6.0.8798.0
Devedit.pkg version 6.0.8447.0
Font: ProggyCleanTTSZ 16(Pixels)
Comctl32.dll version 5.82.2900.2180
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Custom
Stable Includes:
C:\\DevStudio\\VC98\\INCLUDE;
C:\\DevStudio\\VC98\\MFC\\INCLUDE;
C:\\DevStudio\\VC98\\ATL\\INCLUDE;
d:\\sources\\_Include\\WTL;

Library Includes:
C:\\DevStudio\\VC98\\MFC\\SRC;
C:\\DevStudio\\VC98\\MFC\\INCLUDE;
C:\\DevStudio\\VC98\\ATL\\INCLUDE;
C:\\DevStudio\\VC98\\CRT\\SRC;
d:\\sources\\common;

Other Includes:
d:\\sources\\Common;

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 09 2006 :  9:15:32 PM  Show Profile  Reply with Quote
i am seeing the same thing here

case=2015

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

support
Whole Tomato Software

5566 Posts

Posted - Aug 27 2006 :  7:18:27 PM  Show Profile  Reply with Quote
Fixed in build 1533.
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