Question on Accessing parallel port
I am trying to access parallel port with C++ on Windows XP. I already have inpout32.dll sitting in my Windows/system32 directory. The problem i encounter is that my complier BloodShed Dev C++ does not recognize inportb or outportb functions no matter what i include as a header.
I need to know several things...
1) What functions should i use to access parallel port? and what header file to include? I do not want to use VC++ or Borland, most of the internet websites give examples on those compilers. I like using free compilers
2) How do i use inpout32.dll? Do i have to link to it in my code? if I do, how do I do it? or is it just fine sitiing where it is?
3) Can someone point me to a good resource that describes step by step how to
access parrallel port in free compiler?