I'm pretty sure I have an old electronics magazine that gives details of =
accessing the ports or some of them. I might be tempted to dig it out if =
you want. Although as Kevin Wood suggests you can open up a file stream =
to those devices. LPT1, COM1, COM2, etc... the control would be more =
limited, but sufficient to get and send strings of data to them.
I'm sure if you do a little searching then you'll find some information =
on accessing the ports, on the web.
Jason.
----- Original Message -----=20
From: mc.navar=20
To: dev...@li...=20
Sent: Sunday, November 18, 2001 4:09 PM
Subject: [Dev-C++] port access???
Hi!
I want to programm an little robot. I used the Dev-C++ for my last =
C-projects and so this time too. I use the dev-c++ with the =
mingw-compiler. Now my problem after reading many homepages I know the =
compiler doesn't support functions like inpportb() and outportb(). I red =
in the Dev-C++ forum that hong lia developed some libraries and header =
files with can solve my problem. I was on his home page but the link was =
broken.=20
Now my question know anyone how to access the parallel or serial port =
in dos with the Dev-C++.
Thanx mc.navar =20
|