C++ Builder / Delphi 2010 application manifest template

℡╲_俬逩灬. 提交于 2019-11-28 12:43:49

Your manifest is not enabling ComCtrl v6 if you want to enable Visual Styles:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <!-- your assemblyIdentity element ... -->
  <dependency>
    <dependentAssembly>
      <assemblyIdentity
        type="win32"
        name="Microsoft.Windows.Common-Controls"
        version="6.0.0.0"
        processorArchitecture="*"
        publicKeyToken="6595b64144ccf1df"
        language="*"
      />
    </dependentAssembly>
  </dependency>
  <!-- your trustInfo, compatibility, application elements ... -->
</assembly>

You do not need a xmlns:asmv3 declaration on the top-level assembly element, since it is being re-declared on the application element.

The XML namespaces being used are different because they are defined by different APIs. A manifest file is not a single API, it is a collection of values for multiple APIs being controlled in a centralized location.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!