January 13th, 2002, 06:51 AM
Controlling LPT port with C++
I have Borland C++ 5.02 and I made something wich can be controlled through a printerport. BUT I have windows 2000 and I have heard I can't use outport functions to control it (in the dos.h header file). Are there header files that do have a right function or any idea's on how to control printer port with win 2k?
January 13th, 2002, 05:53 PM
Well, in Visual C++, I use "_outp" function present in conio.h. Check your Borland C++ documentation for a similar function.....should be somewhere in conio.h I guess.
January 14th, 2002, 04:41 AM
well the alternative is outport (b) but that does not work on windows 2k... I'm following programming classes (school) but this just is a riddle to the teachers I have discussed it with...
January 22nd, 2002, 04:38 PM