Thursday, July 30, 2009

Help with parallelport interfacing?

i know a bit of c++ to try out parallel port interfacing... i connected the circuit needed and everything... but the problem arises with the code... im using outportb(address,value) , but the port is functioning after the whole program finishes executing and not just after the outportb function is called........ could someone help me with solving it???

Help with parallelport interfacing?
What operating system (Windows 98, Dos, etc.)?





WinXP doesn't allow you to read and write normally to the parallel port with out a driver. I ended up booting DOS and using QBasic to do what I need. When I was sure my circuit worked, I found this program:





http://logix4u.net/Legacy_Ports/Parallel...





This driver works with VB, VC++, and others. It is a DLL that you can link to to use its special inportb/outportb functions.





Have fun!


No comments:

Post a Comment