|
From: John R. <jt...@ya...> - 2003-10-25 19:23:19
|
I found a way to test the giveio.sys driver with one of my test programs. Still the same trouble I've had with other device drivers. I can write and read to the lpt port but not the com ports. Anyone have experience using a good device driver for writing to ports under Win 2000/XP? I've tried several. Some i get to only work on the ltp, and some have horrible documentation. John R --- "A. Klingenstein" <kli...@we...> wrote: > John Ramshur wrote: > > > Apparently outportb() or inportb() isn't supported > in > > Dev-cpp header files. Does anyone know what > Dev-cpp > > uses to write and read to port or memory locations > in > > C? With borland I just typed outportb(0x378, > 0xff). > > That's cause under Windows, only the kernel and > drivers are allowed to > write directly to ports. You need an additional > driver like giveio.sys > to do it for your application > > Alex > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |