Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 No coloring under x64 when allocating from >4GB

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
MT-Wizard Posted - Aug 28 2011 : 1:39:02 PM
Hi,

[Visual Assist X 10.6.1856.0, VS 2008, Win7 x64]

I changed Windows allocation policy to 'high address first' using registry - set HKLM\\System\\CurrentControlSet\\Control\\Session Manager\\Memory Management\\AllocationPreference = 0x100000 and restart computer.
(see http://msdn.microsoft.com/en-us/library/bb613473%28v=vs.85%29.aspx for more details)
After that all VAX coloring of C++ code in VS2008 has disappeared. It doesn't react on VAX options change or symbols DB rebuild. Coloring in VS2010 is not affected and works fine.

After removing AllocationPreference key from registry and one more restart coloring has returned. But I need that option to test x64 mode of our application, so I ask you to investigate if this problem may be fixed.

Thanks
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Dec 16 2011 : 2:13:13 PM
case=60852 is fixed in build 1862
accord Posted - Aug 28 2011 : 5:37:22 PM
I am seeing the same effect here. Thank you for the clear description.

case=60852

I also needed to change boot.ini (/3GB flag) in order to reproduce, though (as described behind the provided link, thanks)

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