On Dec 1, 2003, at 6:19 AM, Na wrote:


I am programmer and work with language VB. But I have
some doubts about Perl and in the internet I did not find solutions.
I like to know if is possible to use dll's I writed (that access a usb
scanner) in perl. If I could, how can i referenciate it (in vbscript we use
the CreateObject method)?
Sorry about my english.

What you are looking for is the XS section of perl, since you will need to expose the dll's interfaces in Perl. Then from that module you will gain access to the compiled dll in the way you arranged to do that.

My first recommendation is to do
        perldoc h2xs

<http://www.hmug.org/man/1/h2xs.html>
<http://www.perldoc.com/perl5.8.0/bin/h2xs.html>

Which will help explain how to take
the header files you used to create
the dll and render them into XS so
as to start the process of building
the perl module that will be able to
interact with the dll.

You might want to also look at
<http://www.oreillynet.com/pub/a/network/2003/11/18/activedir_ckbk.html>

Your English is better than my Brazilian,
my apologies for my limitations.

ciao
drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to