Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: TWAIN Scanner

by roboticus (Chancellor)
on Mar 25, 2018 at 02:57 UTC ( [id://1211686]=note: print w/replies, xml ) Need Help??


in reply to TWAIN Scanner

PriNet:

I've not used Win32::Scanner::EZTWAIN before, but looking at the documentation regarding the -dll parameter to new, it says you can "use this option to tell where eztw32.dll is located, use a trailing slash." Based on that, I'd guess that you just need to tell it the directory containing eztw32.dll, not the entire pathname of the file. In other words, have you tried changing it to:

$Scanner = new Win32::Scanner::EZTWAIN(-dll=>$Current_Directory . '/') +;

Hopefully, that'll do it for you.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1211686]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found