Interfacing LPT1 with VB6

Status
Not open for further replies.

hi,
I dont use VB 'C' or relative coding for my programs, but why are you trying to import the 'inpout32.dll' ??.
As it resides in the Win/System as a DLL, your program will call it as any other Windows system DLL.

You need this DLL as Win XP normally , 'blocks' the VB calls to the parallel port, the DLL is one way to bypass this block.

Just make sure that the inpout32 is referenced in the VB program module.

Hope this helps.
 
I placed the inpout32.dll in the system32 folder, and have tried using (out32() & inp32()) but it says that the identifier can't be found. Therefore, I tried to import it but that didn't work either. If someone has the detailed steps to interface the parallel port with VC++ on Win XP, that would be awesome.

Thanks for the reply.
 

If you look back in this thread you should find a simple parallel test program I posted.
It will enable you to at least check that your parallel port is addressable.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…