The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Slugsnack on July 11, 2009, 01:36:02 AM

Title: radasm manifests
Post by: Slugsnack on July 11, 2009, 01:36:02 AM
i just wrote a manifest which i've stuck in the folder that my radasm project is in. this is the .xml code :

<?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"
      type="win32"
      name="PAS.exe"
      processorArchitecture="x86"
/>

<description>XP Theme</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            language="*"
            processorArchitecture="x86"
            publicKeyToken="6595b64144ccf1df"
        />
    </dependentAssembly>
</dependency>
</assembly>


how do i get radasm to include it when building ?
Title: Re: radasm manifests
Post by: dedndave on July 11, 2009, 03:45:22 AM
i'd like to know how to do it with masm, aslo - lol
Title: Re: radasm manifests
Post by: ramguru on July 11, 2009, 06:10:53 AM
in resource file you add one line:
1     24       "man.xml"
Title: Re: radasm manifests
Post by: Slugsnack on July 11, 2009, 11:39:19 AM
ramguru : thanks, that worked perfectly. here's a nice picture to show the changes ^_^

(http://img6.imageshack.us/img6/8754/manifest.jpg)

omg look at non-square buttons + listview sexiness  :cheekygreen:
Title: Re: radasm manifests
Post by: sonic on July 13, 2009, 06:04:03 PM
Also remember to include InitCommonControls otherwise it may not work correctly on some systems.

Happened me few times when the programs containing common controls were working without initializing, but later on reinstalling windows they refused to work.
Title: Re: radasm manifests
Post by: Slugsnack on July 13, 2009, 06:13:46 PM
haha thanks i just got that answer in this thread :
http://www.masm32.com/board/index.php?topic=11821.0