Xref: utzoo comp.sys.amiga.tech:17046 comp.sys.amiga:74646 comp.sys.amiga.games:3041 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!voder!pyramid!oliveb!isc-br!ewu!mpierce From: mpierce@ewu.UUCP (Mathew W. Pierce) Newsgroups: comp.sys.amiga.tech,comp.sys.amiga,comp.sys.amiga.games Subject: Opening the gameport.device Message-ID: <1368@ewu.UUCP> Date: 18 Dec 90 01:15:25 GMT Followup-To: poster Organization: Eastern Washington Univ. Cheney WA Lines: 19 Hello netters, I am having trouble opening the gameport.device, here is some sample code: struct MsgPort *joyport ; struct IOStdReq *joymsg ; joyport = CreatePort(NULL,0) ; joymsg = CreateStdIO(joyport) ; OpenDevice("gameport.device",1,joymsg,0) ; I put error checking to bailout at each step, which it does at the OpenDevice() step. A chech with IoErr reveals an error code of 1624121418, what am I doing wrong in the above sequence of steps ( I put main() {} around the last 3 steps ) ? Any help would be greatly appreciated, thanks, Mathew Pierce