Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Encapsulate Field:wrong insert position (1531 VC6)

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
peterchen Posted - Aug 09 2006 : 08:44:08 AM
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;

2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 27 2006 : 7:18:27 PM
Fixed in build 1533.
feline Posted - Aug 09 2006 : 9:15:32 PM
i am seeing the same thing here

case=2015

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