Windows application manifests

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Tue May 15 11:39:47 PDT 2012


Thanks for the detailed info! Definitely will check it out!

On Tue, May 15, 2012 at 10:38 PM, Andrej Mitrovic <
andrej.mitrovich at gmail.com> wrote:

> On 5/15/12, Gor Gyolchanyan <gor.f.gyolchanyan at gmail.com> wrote:
> > But what do windows resources have to do with the manifests?
>
> You use a resource file to load a manifest into the executable. There
> are a couple of examples here:
>
>
> https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/VisualStyles
>
> https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/VisualStyles2
>
> https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/ThemedSimpleWakeUp
>
> https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/ThemedWakeUp
>
> enable-theme.xml is the manifest, and resource.rc just references this
> xml file. The resource file is compiled into a .res file, and this
> file is then passed directly to DMD.
>
> For your own purposes try to just take the .rc/.res/.xml files, pass
> .res to dmd when compiling your app and see if the visual styles work
> for you.
>
> The last example loads the manifest dynamically, based on a sample
> from the DFL library.
>



-- 
Bye,
Gor Gyolchanyan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120515/96d9aa06/attachment.html>


More information about the Digitalmars-d mailing list