Forum > General

XML and Lazarus

(1/1)

FrankIT:
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: ---
<?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>  

--- End code ---


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: )

Bart:
See this thread for an XP manifest component.

Bart

Navigation

[0] Message Index

Go to full version