Przeglądając pliki mojego projektu, znalazłem jakiś plik, o nazwie mojprogram.exe.intermediate.manifest o treści:
<?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.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Jest też mojprogram.exe.embed.manifest, lecz jest to klon powyższego, który ma tylko dodatkowe znaki NUL i SOH (Notepad++ tak pokazuje). Nie idzie go wkleić na forum.
Znalazłem także mojprogram.exe.embed.manifest, treść:
<?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.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Także jest dziwny plik zasobu: mojprogram_manifest:
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ "Debug\\mojprogram.exe.embed.manifest"
Lecz chciałbym, aby mój projekt wyglądał nowocześnie nie tylko na XP, lecz również na Viście i 7, gdyż ten manifest od XP nic nie zmienia w 7.