Unable to load DLL with LibFunc>

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
rullbandspelare
Pro Scripter
Posts: 149
Joined: Tue Mar 23, 2004 9:11 pm

Unable to load DLL with LibFunc>

Post by rullbandspelare » Mon Sep 10, 2007 7:25 am

Hi!
I am trying to feed my PC with real world signals via the Parallel port.
And I was on top of it until the .scp script crashed and the code was lost. Now I cant get it to work again.

The parallel status lines are att adress Hex 379 = Dec 889. I was getting the value 127.
But now all i get is "Unable to load DLL"
I have downloaded INPOUT32.dll to c:\ again and even tried another parallel port tester wich also gives me the value 127.

Is there something wrong with the code?

Code: Select all

LibLoad>C:\INPOUT32.dll,InOut
LibFunc>InOut,inp32,T,889
MessageModal>%T%
LibFree>InOut
DLL is available on bottom of page:
http://logix4u.net/Parallel_Port/How_In ... orks_.html

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Sep 10, 2007 7:40 am

According to that web page the function name is "Inp32" - with a capital I.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

rullbandspelare
Pro Scripter
Posts: 149
Joined: Tue Mar 23, 2004 9:11 pm

Post by rullbandspelare » Mon Sep 10, 2007 7:55 am

:D

Aha! Now it works again.
Thanks!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts