Hello Everyone,
I'm stuck working on a project using VC6. Please don't hate, If I had the option to work with something more modern I would be.
My application requires Administration rights to work properly. On my computer, I've embedded this manifest into my release .exe via the mt.exe Microsoft SDK from an external notepad file in the same directory as my .exe:
="1.0"="UTF-8"="yes"
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="RequireAdministrator"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
via the command line:
mt.exe -nologo –manifest "MyApp.exe.manifest" -outputresource:"MyApp.exe;#1"
On my computer(running windows 7 32bit), this works flawlessly and forces the system admin prompt, allowing my program to function after I hit yes.
However if I attempt to transfer my newly embedded release .exe, along with the manifest file to my different computer (running windows 7 64bit) the admin prompt no longer occurs, even if I attempt to re-embed the Manifest on the new computer causing my program to not properly function.
Is there any way for me to be able to transfer this application to a different computer while maintaining the ability to prompt admin status?
Thanks for hearing me out! Also, everything I'm currently working with is still very new to me so I apologize in advance if I'm missing something obvious or doing something very basic wrong.