On Wed, 29 Oct 2008, Zarabozo, Francisco (GE, Corporate) wrote:

Hi Paco,

> I emailed the author of the server and he couldn't give much support about
> it, saying that he doesn't know Perl or the tools I'm using, but what he
> could tell me is that DLL Libraries and ActiveX Libraries are not the same
> thing and that could be the reason my extension is not working.
> 
> Do any of you know if there's a (possibly good) way to create simple DLL
> Libraries from Perl code?

PerlCtrl can only implement IDispatch based COM objects and not arbitrary
DLLs.  I can't think of any way of doing this that won't require writing
the actual interface in some other language.  So you may have to implement
the DLL entry points in C/C++ and then call from there into Perl, either
by embedding a Perl interpreter directly, or by using COM to invoke your
PerlCtrl based code.

I have no idea if you could implement the interface in a different language,
like Visual Basic, which would make calling into the IDispatch based
interface of PerlCtrl easier.  You may want to ask the vendor of the server
code for some sample plugins in different languages to see if there is
anything you can adopt to your needs.

Cheers,
-Jan

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
  • PerlCtrl question Zarabozo, Francisco (GE, Corporate)
    • RE: PerlCtrl question Jan Dubois

Reply via email to