I know it has been a while on this thread but I'm running to the same problems but with vc++. I'm trying LPT1 to vc++ 2005 express edition, and I'm using Windows XP SP2 and have the administrative rights of the computer. I downloaded "inpout32.dll" and placed it in C:\Windows\system32 directory and basically used:
#import "C:\Windows\system32\inpout32.dll"
and added inpout32.lib as an additional dependency (Project properties --> Linker ----> Input). However, when I try to run the program I get this error: "fatal error C1083: Cannot open type library file: 'c:\windows\system32\inpout32.dll': Error loading type library/DLL."
I have been struggling with this for few days now and I have searched alot for my solution but I noticed the author of this thread found a solution to interface it with vb, so any helpful hints will be appreicated.
Thanks