Author Topic: InpOut32.dll download from LVR  (Read 28098 times)

GMS

  • Member
  • ***
  • Posts: 6
InpOut32.dll download from LVR
« 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

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: InpOut32.dll download from LVR
« Reply #1 on: May 01, 2013, 01:52:57 pm »
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."

GMS

  • Member
  • ***
  • Posts: 6
Re: InpOut32.dll download from LVR
« Reply #2 on: May 01, 2013, 05:28:11 pm »
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

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: InpOut32.dll download from LVR
« Reply #3 on: May 01, 2013, 05:55:54 pm »
Good luck with your project!

GMS

  • Member
  • ***
  • Posts: 6
Re: InpOut32.dll download from LVR
« Reply #4 on: May 02, 2013, 12:59:47 am »
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

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: InpOut32.dll download from LVR
« Reply #5 on: May 02, 2013, 11:38:15 am »
« Last Edit: June 29, 2015, 10:23:22 am by Jan Axelson »

GMS

  • Member
  • ***
  • Posts: 6
Re: InpOut32.dll download from LVR
« Reply #6 on: May 02, 2013, 10:15:41 pm »
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

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: InpOut32.dll download from LVR
« Reply #7 on: May 02, 2013, 10:29:10 pm »
If the example application is working, use that as a model. Be sure to include the declarations as shown in the example.

GMS

  • Member
  • ***
  • Posts: 6
Re: InpOut32.dll download from LVR
« Reply #8 on: May 02, 2013, 10:35:54 pm »
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

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: InpOut32.dll download from LVR
« Reply #9 on: May 02, 2013, 11:10:14 pm »
You need to declare the Out function. See my example application.

GMS

  • Member
  • ***
  • Posts: 6
Re: InpOut32.dll download from LVR
« Reply #10 on: May 03, 2013, 12:59:24 am »
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