comp.lang.ada
 help / color / mirror / Atom feed
From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: Re: GNAT and Windows XP Manifest
Date: Fri, 10 Jul 2009 03:57:13 -0700 (PDT)
Date: 2009-07-10T03:57:13-07:00	[thread overview]
Message-ID: <e3e6e00f-c5bc-4858-b696-956397fd03f7@c2g2000yqi.googlegroups.com> (raw)
In-Reply-To: 26c154a6-efa4-4c89-9333-999064b6e17d@y7g2000yqa.googlegroups.com

Solved.

Explanation: althought message boxes does not belongs to the
ComCtl32.dll shared library, it is mandatory to invok
InitCommonControls.

Platform DSK documentation says:
> To create a manifest and enable your application to use
> visual styles.
>
> Link to ComCtl32.lib and call InitCommonControls.
> Add a file called YourApp.exe.manifest to your source tree that
> has the XML manifest format.

If InitCommonControls is invoked during application initialization,
the manifest is handled correctly.

Perhaps that with common controls version 6, the message box is now
part of the ComCtl32.dll library (this is the sole reason I can
imagine).

This is thus not specific to GNAT, but would be the same with any
others, like Janus, etc.



  reply	other threads:[~2009-07-10 10:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10  9:41 GNAT and Windows XP Manifest Hibou57 (Yannick Duchêne)
2009-07-10 10:14 ` Hibou57 (Yannick Duchêne)
2009-07-10 10:57   ` Hibou57 (Yannick Duchêne) [this message]
2009-07-10 19:37     ` Gautier write-only
2009-07-10 21:12       ` Hibou57 (Yannick Duchêne)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox