From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,80281b117d7f1c37 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!c2g2000yqi.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: GNAT and Windows XP Manifest Date: Fri, 10 Jul 2009 03:57:13 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4ac14c83-a361-4832-b762-02ed046d463e@24g2000yqm.googlegroups.com> <26c154a6-efa4-4c89-9333-999064b6e17d@y7g2000yqa.googlegroups.com> NNTP-Posting-Host: 77.198.58.55 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1247223433 23529 127.0.0.1 (10 Jul 2009 10:57:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 10 Jul 2009 10:57:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c2g2000yqi.googlegroups.com; posting-host=77.198.58.55; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6934 Date: 2009-07-10T03:57:13-07:00 List-Id: 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.