|
From: Uten N. <Ute...@su...> - 2002-11-05 18:10:17
|
If my memory doe's not play tricks with me the wxWindows library has I/O support (wxSerial, wxPort ??). If you do not want to use the wxWindows library you could take a look at the wx source to find out how it's done..:o) Cheers Staale At 13:10 29.10.02 +0100, Cesare Padovani wrote: >Does anyone know how to write to and read from an i/o port? > >In the dos version of Borland C++ there were the functions: > >void outport(int portid, int value); >int outp(int portid, int byte_value); > >located in dos.h. > >What about Dev-C++ in this area? > >Regards, Cesare Padovani > > > >------------------------------------ >Cesare Padovani >Dipartimento di Ingegneria Elettrica >Universita' degli Studi di L'Aquila >Italy >Tel. +39-0862-434432 >Fax +39-0862-434403 > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |