comp.lang.ada
 help / color / mirror / Atom feed
From: tolkamp <f.tolkamp@gmail.com>
Subject: Re: How to interface in ADA with Microsoft joystick?
Date: Sun, 10 Oct 2010 04:05:51 -0700 (PDT)
Date: 2010-10-10T04:05:51-07:00	[thread overview]
Message-ID: <f8b20345-151a-4970-acc9-053606a41bfb@x23g2000vba.googlegroups.com> (raw)
In-Reply-To: tu0299qu7wzb.kwz3ru9weav$.dlg@40tude.net

On 8 okt, 22:00, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
wrote:
> On Fri, 8 Oct 2010 01:48:54 -0700 (PDT), tolkamp wrote:
> > On this websitehttp://www.adapower.com/index.php?Command=Class&ClassID=Bindings&CID=388
> > I found the package Win32.Joystick. Is this package usable to add to
> > my project?
>
> I see no problem why not.
>
> (I have no idea why win32.mmsystem still does not contain it. Maybe,
> because it wasn't supported under NT 4.0?)
>
> --
> Regards,
> Dmitry A. Kazakovhttp://www.dmitry-kazakov.de

I have added the joystick package from the above mentioned website to
win32.mmsystem.ads
After compilation the next error message occurs:
operator for type "Interfaces.C.unsigned_long" is not directly
visable, use clause would make operation legal.

The error message points to this code:
JOY_RETURNALL      : constant Win32.DWORD               -- mmsystem.h:
2067
      := ( JOY_RETURNX or JOY_RETURNY or JOY_RETURNZ   or JOY_RETURNR
            or JOY_RETURNU or JOY_RETURNV or JOY_RETURNPOV or
JOY_RETURNBUTTONS ) ;

I do not understand for which package a use clause must be added.



  reply	other threads:[~2010-10-10 11:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-03 15:07 How to interface in ADA with Microsoft joystick? tolkamp
2010-10-03 15:21 ` Dmitry A. Kazakov
2010-10-04 15:16   ` tolkamp
2010-10-04 16:18     ` Dmitry A. Kazakov
2010-10-04 17:54       ` tolkamp
2010-10-04 18:58         ` Dmitry A. Kazakov
2010-10-04 19:30           ` tolkamp
2010-10-04 19:46             ` tolkamp
2010-10-05  7:30               ` Dmitry A. Kazakov
2010-10-05 10:19                 ` tolkamp
2010-10-05 10:55                   ` AdaMagica
2010-10-05 12:21                   ` Dmitry A. Kazakov
2010-10-05 15:32                     ` tolkamp
2010-10-05 16:11                       ` Andre
2010-10-05 17:03                       ` Dmitry A. Kazakov
2010-10-08  8:48                         ` tolkamp
2010-10-08 20:00                           ` Dmitry A. Kazakov
2010-10-10 11:05                             ` tolkamp [this message]
2010-10-10 11:11                               ` Dmitry A. Kazakov
2010-10-11 20:24                                 ` tolkamp
2010-10-12  7:25                                   ` Dmitry A. Kazakov
2010-10-12  9:52                                     ` tolkamp
2010-10-12 11:25                                       ` tolkamp
2010-10-12 12:07                                       ` Dmitry A. Kazakov
2010-10-12 17:41                                         ` tolkamp
2010-10-12 20:10                                           ` Dmitry A. Kazakov
replies disabled

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