TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jim Fitzsimmons
from: Phil Crown
date: 1996-06-10 14:06:32
subject: Joystick Reading

-=> Quoting Jim Fitzsimmons to Phil Crown <=- 

 PC> This probably isn't your problem with the joystick, but BOOL conflicts
 PC> with the typedef in \include\os2emx.h
 JF> Hi Phil,
 JF> Thanks for the responce. Noted, btw are you experienced with EMX and
 JF> OS/2 programming in general? I would love to know how to define a
 JF> Struct with EMX and a couple other things as well..? ttul..

I've been using EMX/GNU since I installed OS/2 Warp when it first came
out (Oct/Nov? '94), and before that with Warp Beta II, but I'm not a guru,
maybe mediocre.  There was a period that I stopped using EMX after I got
Borland C++ v2.0, but now I have both installed and use which ever one
is easiest to work with for the project.  Lots of stuff is written for
the Internet using EMX/GNU, and usually has the source code available
for it.

You declare and define a structure in EMX the same way as with any other
compiler.

typedef struct mystruct {
  char c;
  int i; 
};

struct mystruct;

Phil - Fido:  1:124/8014.0 | Internet:  phil.crown{at}bluecafe.com

--- Blue Wave/OS2 v2.30
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 214-250-4479 * (1:124/1208)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1
@PATH: 124/1208 1 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.