How can I access the parallel port to control a car which can move in any direciton.I want to control each pin seperately. If you have any tutorial or information or source codeI would be really happy.
Normally, you can use the C run-time library routines inp and outp, and inline assembler statements IN and OUT to access the parallel port. It depends on your hardware as to the exact values you must write.
However, under 32-bit Windows, you must make other considerations. Because other programs may access IO memory, you may run into trouble under Windows 95. Under NT, these statements are simply not supported and you will need some sort of device driver to access IO hardware.