Day to day work issues we find with windows, mac, unix and internet, software apps etc. we get many many questions and find out some weird things tips and tricks about windows OS that might help others, some of these will help others and help our clients setup software to there requirements.
Monday, 30 April 2012
How to turn off VirtualStore in C++ manifest file fix asInvoker
create file.exe.manifest: with below contents:-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
then add the manifest to the exe (Windows SDK required for mt.exe command)
"Path of the MT.exe"
-manifest "$(ProjectDir)[application name].exe.manifest"
-outputresource:"$(TargetDir)$(TargetFileName)";#1
in vc6++
"C:\Program Files\Microsoft Platform SDK\Bin\mt.exe" -manifest "file.exe.manifest" -outputresource:"Release/file.exe";#1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment