Jump to content

Recommended Posts

Posted (edited)

Hi!

I want to set or read LPT port bits. Placed Inpout32.dll to script folder. Is there something more should i do?

This should send all LPT data bits to high level?

DllCall( "INPOUT32.dll", "int", "out32", "int",0x378, "int", 255 )

When i launch that, nothing happens, my multimeter still shows 0V on parallel port :)

0x378 address is right because DIK74 software works without problem + my multimeter shows 3,3V.

OS is WinXP Pro SP2

Edited by DVDRW
Posted (edited)

Yep i started from there.

Set all bits to 1 and read result was all 0s :)

Tried two different computers

Edited by DVDRW
Posted

Works for me, I've just run

DllCall( "E:\inpout32.dll", "int", "Out32", "int", 0x378, "int", 255)
and metered the data pins 0-7 as high and then used 0 as the last param and confirmed data pins 0-7 go low.

Posted

Thanx got it work!

"INPOUT32.dll" caused the problem. "c:\INPOUT32.dll" worked

I heard that when script location is the same place as file then you wont need write full path. It seems that is not true

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...