News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

manifest file to use winxp themes

Started by rem, June 09, 2005, 08:35:52 PM

Previous topic - Next topic

rem

How to compile the win32 executable with manifest file, to use winxp themes

Anonymous

Ok, I know now. You don't have to answer.

Rune Hunter

Well tell me I don't know how, I'm stioll trying to figure out how.

Serge2005

I think it goes Plugins->Windows XP look'n'feel
I did it successfully :)  :D
OS: LMDE2-32bit with Xfce

Rune Hunter

But that doesn't put it into the exe. I need it to go inside the exe so I don't need the manifest file to make it look like xp.

Serge2005

#5
I don't know how do they do it in wxWidgets :)  but in Win32 I did it this way :)
1. Create winxp.manifest file with this code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
  xmlns="urn:schemas-microsoft-com:asm.v1"
  manifestVersion="1.0">
<assemblyIdentity
    name="Sergei_Novik.Apps.tab"
    processorArchitecture="x86"
    version="1.0.0.0"
    type="win32"/>
<description>tab</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="x86"
            publicKeyToken="6595b64144ccf1df"
            language="*"/>
    </dependentAssembly>
</dependency>
</assembly>
2. Then in resource.rc file add this string:
    1 24 "winxp.manifest"
3. Recompile your project
4. After that you can delete your winxp.manifest file, your application will remain with xp style. :)
By the way it isn't good idea insert manifest-file inside exe-file, cause it may bring some compatibility problems I guess.... :))

Cheers!
OS: LMDE2-32bit with Xfce

Rune Hunter

Well it only worked for GCC compiler not for the visual c++ toolkit.

Oh well and I also heard it is better to put the manifest file inside the exe. Weird.

sethjackson

Easiest way to have a manifest is to click plugins->Windows XP Look'n Feel. Recompile and you are ready to go.  :)