A
axtens
G'day everyone
I have a VB application (though it could easily be any other 3GL)
which calls a PerlCtrl'd COM object. What I'd like to be able to do is
to create a real (or ersatz) callback mechanism. The idea would be to
pass to the Perl object a long containing the address of a function or
procedure and have Perl call that address. IIRC, the COM object would
run in-process so the address would be meaningful within that
context.
I can generate the address and pass it in to the COM. What I don't
know is how to have Perl either call or jump to that address.
Any ideas? Should I give up now, before I do any damage?
Kind regards,
Bruce.
I have a VB application (though it could easily be any other 3GL)
which calls a PerlCtrl'd COM object. What I'd like to be able to do is
to create a real (or ersatz) callback mechanism. The idea would be to
pass to the Perl object a long containing the address of a function or
procedure and have Perl call that address. IIRC, the COM object would
run in-process so the address would be meaningful within that
context.
I can generate the address and pass it in to the COM. What I don't
know is how to have Perl either call or jump to that address.
Any ideas? Should I give up now, before I do any damage?
Kind regards,
Bruce.