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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd3c44bd8f938354 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Parallel port Date: 2000/03/06 Message-ID: <8a0gkf$pv8$1@nnrp1.deja.com>#1/1 X-Deja-AN: 593765494 References: <38c28137_2@news2.prserv.net> <38C37F6D.A52CB4B7@shom.fr> X-Http-Proxy: 1.0 x21.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Mar 06 14:50:56 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-03-06T00:00:00+00:00 List-Id: In article <38C37F6D.A52CB4B7@shom.fr>, Philippe BOURZEIX wrote: > Jerry van Dijk wrote: > > > > I would like to access to my parallel port. > > > To read and write in the register 16#378, 16#379, 16#37A > > > > That would depend on which OS you are using... > > My program run on Windows. Windows what? If you are talking 9x or NT, you can't do that. Those OS's don't allow direct access to the hardware. You have to do it using Win32 calls. If you are talking 3.11, it should probably work. But even there I suspect there are systems calls you should be using instead. There might be a way to do it using the DOS subsystem in Win9x, but that's probably not what you want to do. This is really an OS question, not an Ada question. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.