Lazarus

Installation => General => Topic started by: FrankIT on February 02, 2006, 05:40:57 pm

Title: XML and Lazarus
Post by: FrankIT on February 02, 2006, 05:40:57 pm
Hi everybody, I'm making a program with lazarus and I want to set the WinXp controls calling "ComCtl32.dll" with a manifest written in XML.

Here is the code:
 
Code: [Select]

<?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="nome dell'applicazione"
        type="win32" />
    <description>Descrizione dell'applicazione</description>
    <dependency>
        <dependentAssembly>
            <assemblyIdentity
                type="win32"
                name="Microsoft.Windows.Common-Controls"
                version="6.0.0.0"
                processorArchitecture="X86"
                publicKeyToken="6595b64144ccf1df"
                language="*" />
        </dependentAssembly>
    </dependency>
</assembly>  


Now, I want to put this code inside the code of my app in Lazarus as a resource, but I don't know how! I know it is possible in Visual Basic...

Help me! (And sorry if mine isn't perfect English! :lol: )
Title: XML and Lazarus
Post by: Bart on February 02, 2006, 06:05:49 pm
See this (http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=792&start=0&postdays=0&postorder=asc&highlight=xp+manifest) thread for an XP manifest component.

Bart