Re: Windows application manifests

2012-05-16 Thread Gor Gyolchanyan
So, this function basically does... uhh I have no idea. :-D What exactly does it do again? On Wed, May 16, 2012 at 7:44 AM, Mehrdad wfunct...@hotmail.com wrote: On Tuesday, 15 May 2012 at 14:03:47 UTC, Gor Gyolchanyan wrote: Can anyone, please, tell me what these manifests are, where do

Re: Windows application manifests

2012-05-16 Thread Mehrdad
On Wednesday, 16 May 2012 at 08:16:20 UTC, Gor Gyolchanyan wrote: So, this function basically does... uhh I have no idea. :-D What exactly does it do again? Uh, it enableVisualStyles(). Without a manifest. :P

Re: Windows application manifests

2012-05-16 Thread Gor Gyolchanyan
That is beyond cool! Thank you very much!!! On Wed, May 16, 2012 at 1:39 PM, Mehrdad wfunct...@hotmail.com wrote: On Wednesday, 16 May 2012 at 08:16:20 UTC, Gor Gyolchanyan wrote: So, this function basically does... uhh I have no idea. :-D What exactly does it do again? Uh, it

Windows application manifests

2012-05-15 Thread Gor Gyolchanyan
Can anyone, please, tell me what these manifests are, where do they fit in my application binaries, why is one needed to get the pretty windows 7 buttons and how to use them with DMD? -- Bye, Gor Gyolchanyan.

Re: Windows application manifests

2012-05-15 Thread Kagamin
Manifests are extensible resources, they are used for various things which require storing metadata in executable modules, for example they're used to load version 6 of comctl32.dll instead of version 5 (pre-XP), thus getting different set of common controls, which support ux themes.

Re: Windows application manifests

2012-05-15 Thread Gor Gyolchanyan
On Tue, May 15, 2012 at 8:07 PM, Kagamin s...@here.lot wrote: Manifests are extensible resources, they are used for various things which require storing metadata in executable modules, for example they're used to load version 6 of comctl32.dll instead of version 5 (pre-XP), thus getting

Re: Windows application manifests

2012-05-15 Thread Denis Shelomovskij
15.05.2012 20:16, Gor Gyolchanyan написал: On Tue, May 15, 2012 at 8:07 PM, Kagamin s...@here.lot mailto:s...@here.lot wrote: Manifests are extensible resources, they are used for various things which require storing metadata in executable modules, for example they're used to load

Re: Windows application manifests

2012-05-15 Thread Gor Gyolchanyan
Thanks! It doesn't compile. After I fixed the path to the Windows SDK, I got the error: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\SpecStrings.h(11) : fatal error RC1015: cannot open include file 'sal.h' But what do windows resources have to do with the manifests? On Tue, May

Re: Windows application manifests

2012-05-15 Thread Andrej Mitrovic
On 5/15/12, Gor Gyolchanyan gor.f.gyolchan...@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:

Re: Windows application manifests

2012-05-15 Thread Gor Gyolchanyan
Thanks for the detailed info! Definitely will check it out! On Tue, May 15, 2012 at 10:38 PM, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: On 5/15/12, Gor Gyolchanyan gor.f.gyolchan...@gmail.com wrote: But what do windows resources have to do with the manifests? You use a resource

Re: Windows application manifests

2012-05-15 Thread Denis Shelomovskij
15.05.2012 22:08, Gor Gyolchanyan написал: Thanks! It doesn't compile. After I fixed the path to the Windows SDK, I got the error: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\SpecStrings.h(11) : fatal error RC1015: cannot open include file 'sal.h' Looks like you didn't change

Re: Windows application manifests

2012-05-15 Thread Gor Gyolchanyan
Thanks a lot! I'll look into it! On Tue, May 15, 2012 at 11:21 PM, Denis Shelomovskij verylonglogin@gmail.com wrote: 15.05.2012 22:08, Gor Gyolchanyan написал: Thanks! It doesn't compile. After I fixed the path to the Windows SDK, I got the error: C:\Program Files (x86)\Microsoft

Re: Windows application manifests

2012-05-15 Thread Mehrdad
On Tuesday, 15 May 2012 at 14:03:47 UTC, Gor Gyolchanyan wrote: Can anyone, please, tell me what these manifests are, where do they fit in my application binaries, why is one needed to get the pretty windows 7 buttons and how to use them with DMD? Just FYI, you don't actually *need* to