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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4d1b41004c1d217c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news3.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: How to interface in ADA with Microsoft joystick? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-13" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <2edbcdab-8ff5-40e6-9ac0-44be6cb93621@m15g2000yqm.googlegroups.com> <1ne6iis0we6lt.7ftiqb64g582.dlg@40tude.net> <04cf664d-62bd-4e2e-8aaa-cd4654ea327e@26g2000yqv.googlegroups.com> <1cd6pmbvbsnkb$.uwz2048291is.dlg@40tude.net> <3a82f59a-129f-46b1-bd0c-eae124136590@26g2000yqv.googlegroups.com> Date: Tue, 5 Oct 2010 14:21:59 +0200 Message-ID: NNTP-Posting-Date: 05 Oct 2010 14:21:58 CEST NNTP-Posting-Host: cafb64e2.newsspool4.arcor-online.net X-Trace: DXC=m=;<32?h67Cdc?2T[6LHn;2LCV^7enW;^6ZC`T\`mfM[68DCS\ZI2hdT_f\Y X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:14393 Date: 2010-10-05T14:21:58+02:00 List-Id: On Tue, 5 Oct 2010 03:19:27 -0700 (PDT), tolkamp wrote: > Finally I had success to include the package Win32 in my project. > Compilation of the project gives the following error message for > package win32-winnt.ads: > �representation item appears too late� > > pragma Convention(C, anonymous1_t); -- winnt.h:186 > pragma Convention(C, LUID_AND_ATTRIBUTES); -- winnt.h:2000 > pragma Convention(C, SID_IDENTIFIER_AUTHORITY); > > By the way, I use GNAT GPL 2009 (version 4.3.1). 1. The actual version of GNAT GPL is 2010. 2. The version I have does not contain the text you quoted. 3. I don't remember this problem in the earlier versions (2008 and 2009). => My guess is that you are still using Aonix's win32ada for Ada 95. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de