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: 103376,4d1b41004c1d217c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!192.87.166.28.MISMATCH!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!post1.tilbu1.nb.home.nl!cache5.tilbu1.nb.home.nl!not-for-mail Date: Tue, 05 Oct 2010 18:11:57 +0200 From: Andre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How to interface in ADA with Microsoft joystick? 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> <0402e3f7-151c-4a51-bd61-44f4fc32a9d1@l20g2000yqm.googlegroups.com> In-Reply-To: <0402e3f7-151c-4a51-bd61-44f4fc32a9d1@l20g2000yqm.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <9dd61$4cab4e4a$541ed605$15260@cache5.tilbu1.nb.home.nl> X-Complaints-To: abuse.home.news@prolocation.net Organization: @home NNTP-Posting-Host: 84.30.214.5 (84.30.214.5) NNTP-Posting-Date: Tue, 05 Oct 2010 18:11:54 +0200 X-Trace: 9dd614cab4e4af1bb73a015260 Xref: g2news1.google.com comp.lang.ada:14397 Date: 2010-10-05T18:11:57+02:00 List-Id: For the joystick interface. On sourceforge there is the GNavi project. It includes a thin binding to the Windows SDK. Inside their is a package GWindows.HID. I used this package to all kind of joystick and other Human Interface Devices. with regards, Andr� > On 5 okt, 14:21, "Dmitry A. Kazakov" > wrote: >> 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. Kazakovhttp://www.dmitry-kazakov.de > > > Little progress. The compilation is error free now. Sorry, I selected > the wrong include directory. > What is the next step to interface with the Microsoft Joystick?