PORTS Forum
Ports and Interfaces => Parallel Port => Topic started by: GMS on May 01, 2013, 06:19:09 am
-
Hi,
I've downloaded the above.
However in the "Documentataion..." which came with the download this version is not suitable for XP.
The source of the XP version is LOGIX4U but when I download this and un-zip it I don't see the 32InpOut.dll.
Being a cautious type can anyone help me here?
Regards GMS
-
On this page:
http://logix4u.net/parallel-port/26-inpoutx64dll-for-win-xp-64-bit
Click "Just the binaries and libs requred to integrate with your own program."
-
Hi Jan,
Many thanks for your very prompt help.
I got the .DLL as you indicated.
Hope to let you know shortly if I have some success with my program.
By way of explanation I've built a quilting machine using servos(clock and dir) ex the parallel port.
Have written all my suite of programs (in QB4.5) to get from CorelDraw to pixel by pixel moves to drive the electronics.
As the traverse speed of of the sewing machine is not fast at this stage I am using the parallel port to provide the
x y & z drive information.
I am in the process of upgrading to VB 6.0 as a learning exercise with a view of achieving better graphics.
I hope that this is not too verbose.
Cheers
-
Good luck with your project!
-
Hi Jan,
I see that InpOut32.dll (+ the other 2 files) appears in the folder WIN32 ok.
My question is :
How do I refer/include InpOut32.dll in my VB 6.0 program.....(I don't have the MSDN help library)
Regards Graham
-
See my example application here:
http://www.janaxelson.com/parport.htm#Programming
-
Hi Jan,
I have got the test_InpOut32 to run after I put the dll into Windows/system32 folder.
It toggled the parallel port quite happily...very encouraging.
However when I re-typed the code from the test_InpOut32 into the program I was trying to create
it does not execute and it is clear that my programme is not accessing the dll.
I have tried several locations for both the 64 & 32 models clearly with a distinct lack of success.
So any guidance as to where the dll should be located?
Cheers Graham
-
If the example application is working, use that as a model. Be sure to include the declarations as shown in the example.
-
Hi Jan,
Your reply was unexpectedly quick!
I spotted that "option Explicit" straighty away and had included it at the head of my code exactly as per the test code.
What now?
Regards Graham
-
You need to declare the Out function. See my example application.
-
Hi Jan,
I finally made my copy work by adding the declaration module!
It was fairly well hidden but I got lucky by really examining all the menus and comparing your program with mine
to spot the difference.
Thanks for your help until the next time!
Cheers Graham