Hi, this is my first message here...
i'm started to use codeblock with mingw in windows 7 operating system.
I'm working on simple console project that need to be executed ALWAYS with administrator privilege so i've wrote manifest file and resource file and build my code but a strange thing happens... if i lauch my app from explorer it starts with administrator privileges and works fine but if i build my code when i try to launch my app from codeblock the process terminated with this error code Process terminated with status 1967125641 (0 minutes, 11 seconds) and i can't to understand because it crash...
this is the manifest file (i've tryed in explorer contect without embed it in my exe and works fine!)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0"
processorArchitecture="X86"
name="DLL Injector"
type="win32"/>
<description>Description of your application</description>
<!-- Identify the application security requirements. -->
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="requireAdministrator"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
thanks and best regards