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-7-bit Path: g2news1.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!noris.net!newsfeed.arcor.de!newsspool1.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="us-ascii" Content-Transfer-Encoding: 7bit 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 09:30:47 +0200 Message-ID: NNTP-Posting-Date: 05 Oct 2010 09:30:47 CEST NNTP-Posting-Host: c5fb936b.newsspool1.arcor-online.net X-Trace: DXC=j5J:j=h_P[bOKO]LCQ@0g`ic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgb^GM=LloHJF`[6LHn;2LCVn7enW;^6ZC`d\`mfM[68DCcld0G@]HOD5i X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:14388 Date: 2010-10-05T09:30:47+02:00 List-Id: On Mon, 4 Oct 2010 12:46:12 -0700 (PDT), tolkamp wrote: > On 4 okt, 21:30, tolkamp wrote: >> From the sidehttp://libre.adacore.com/libre/download2I have >> downloaded the file win32ada-gpl-2010.exe. >> Is this the correct file? I guess so, provided, you are using GNAT GPL 2010. > In addition: the win32 spec and body file is also found in > GNAT/bin/source/src/gnat. Should be .../include/win32ada/ But that depends on the win32ada.gpr file. If you want to know for sure where are the specifications, you look into this file. The file must be located under .../lib/gnat, because that is the default directory where GNAT searches for gpr-files (others are form the ADA_PROJECT_PATH environment variable). Now in that file you will see the path to sources, e.g. project Win32Ada is for Languages use ("ada"); for Source_Dirs use ("../../include/win32ada"); for Library_Dir use "../../lib/win32ada"; for Library_Name use "win32ada"; for Externally_Built use "true"; end Win32Ada; So the source directory is .../lib/gnat/../../include/win32ada = ../include/win32ada -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de