Я конечно понимаю - зачем напрягаться, если и так все работает? Но ведь можно сделать лучше )
Итак. Делаем манифест по-нормальному с помощью инструментов от Borland:
1. Создаем файл manifest.txt:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
name="ПРОГРАММА"
processorArchitecture="x86"
version="1.0.0.0"
type="win32"/>
<description>ОПИСАНИЕ ПРОГРАММЫ</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="x86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
2. Создаем файл manifest.rc:
Code: Select all
1 24 manifest.txt
Code: Select all
brcc32 -m -fo manifest.res manifest.rc
Code: Select all
{$R manifest.res}