Jump to content
Sign in to follow this  
DVDRW

Cant get Inpout32.dll to work

Recommended Posts

DVDRW

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

Share this post


Link to post
Share on other sites
DVDRW

Yep i started from there.

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

Tried two different computers

Edited by DVDRW

Share this post


Link to post
Share on other sites
picaxe

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.

Share this post


Link to post
Share on other sites
DVDRW

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.