gmpassos has asked for the wisdom of the Perl Monks concerning the following question:

This is a complicated question, not only about Perl, more about XS, but let's go.

I was working in the module Wx::ActiveX to enable the Internet Explorer (IE), on wxPerl (Wx). I got the C++ sources of wxIE to start. I was succesful to enable wxIE on wxPerl, it works and I can use events too. To enable it I created the class Wx::ActiveX as an platform for the class Wx::IEHtmlWin, that has IE functios, in the XSs.

What I want now is to use the class Wx::ActiveX to work with any control, without the need of an extra class, like Wx::IEHtmlWin, to handle the functions and internal proprieties of the controls. And then enable Shockwave Flash. Or just enable the ActiveX control of Shockwave Flash with an extra class.

The problem that I have now is to enable the functions of a ActiveX control. I can get any ActiveX control and load it, and list the events. But I can't use any function (method) of it. How can I get this functions, and use them?! Note that I need to implement the code that list the functions, identify them, to after this use them. Is not like VBscript, is in C++.

I take a look in the module Win32::OLE to see how it does this, since the idea is the same. But the implementation is different.

Here are the src of Wx:Active & wxIE: http://www.virtuasites.com.br/loads/wxactivex0.2-src.zip

You can see the original code for wxWindows at: http://www.optusnet.com.au/~blackpaw

Weel, I don't know if someone here can help, but I will try! There is some ActiveX + C++ guru here?! Even better, that uses wxWindows, and wxPerl?! Please help! ;-P

Well, just the ActiveX + C++ can handle with that. It can help in the part that I have problems, and than I do the rest.

I will be very glad for any help! Any idea, or comment, don't be shy.

Graciliano M. P.
"The creativity is the expression of the liberty".

Replies are listed 'Best First'.
Re: wxPerl + ActiveX + Shockwave Flash
by Ctrl-z (Friar) on Feb 04, 2003 at 12:21 UTC
    okay, this is waaaaaaay beyond me, but Id love to see this module made so heres my pitiful contribution ;)

    The Win32::GUI suite has an activeX control, Win32::GUI::AxWindow. I dunno if that will be too platform specific (I think it uses win32::OLE), but I mention it as its not on CPAN, so you may have overlooked it. Maybe the author can throw you some ideas?.

    sorry i cant be more help, i hope you work this out,
    regards
      I think that you have helped a lot! I'm talking with the author, and I hope that he can help on this!

      Many thanks for your reply! ;-)

      Graciliano M. P.
      "The creativity is the expression of the liberty".