using XS for calling exported methods from a DLL

2005-10-14 Thread sam joseph
Hi Is there a way to call exported methods from a DLL without using win32::API. Has anyone tried calling an exported function from C DLL in a Perl Program using XS. I have a C DLL's source file and its header file and using h2xs D:\DLLProjects\simpledll3>h2xs -n ext2 simpledll3.h Writing ext

Re: using XS for calling exported methods from a DLL

2005-10-14 Thread Beau E. Cox
Hi Sam- At 2005-10-14, 00:05:10 you wrote: >Hi > >Is there a way to call exported methods from a DLL without using win32::API. > >Has anyone tried calling an exported function from C DLL in a Perl Program >using XS. > [snipped] YES! First, your error is caused because you need an 'export' lib

Re: using XS for calling exported methods from a DLL

2005-10-14 Thread Bernard Kenik
- Original Message - Sent: Friday, October 14, 2005 12:24 PM If you want the complete module to copy/study/etc., let me know and I will send it to you off-list. Aloha => Beau; [EMAIL PROTECTED] 2005-10-14 Please send it to me also. I am trying to use a function from a dll. It has

Re: Re: using XS for calling exported methods from a DLL

2005-10-14 Thread Bernard Kenik
- Original Message - From: "Beau E. Cox" <[EMAIL PROTECTED]> To: "Bernard Kenik" <[EMAIL PROTECTED]> Cc: "Beginners Perl" Sent: Friday, October 14, 2005 1:29 PM Subject: Re: Re: using XS for calling exported methods from a DLL Hi Bernard et