From: Graciliano M. P. \(V. Sites\) <gm...@vi...> - 2002-08-26 20:07:40
|
Mattia, I have a gift for you! :-P I have sucess with the XS for wxActiveX and wxIE. You can get the source and binary at: http://wxperl.virtuasites.com.br/wxie-0.1.zip (1Mb) I put the basics of ./blib just for the peoples see the demo. I have ported only the Class creator for wxActiveX and wxIE, the other commands I still have to do. I'm having some problems with the other cmds, because the compiler crash. For example, if I add this in the XS (after) Wx_IEHtmlWin::new: bool Wx_IEHtmlWin::LoadString( html ) wxString html Compiler says "unexpected void" or something like that! I don't know what I have to change in the .cpp or headers of the class to can port the other functions. After finish all the XS I will try to port Flash!... Another long way... About the compiler, I used the VC6, too many changes to do this with MinGW. Other thing, how will be the structure for this, because wxIE & wxFlash (in the future) need wxActiveX, and this is only for Win32. We can put: Wx::Win32::IE , Wx::ActiveX::IE or Wx::IE. The class now is: Wx::IEHtmlWin. Since this 2 classes aren't in the wxWindows/contrib and are very basics, we can't follow wxWindows yet. For wxFlash I wnat to make something portable, for Win32 ActiveX, and Linux using the Netscape Plig-in. If wxActiveX can be fully ported, we don't need to compile wxIE, we can make a PM, just using Wx::ActiveX. Of course that the compiled way will be more fast to run, but we need to try this to port and test all the ActiveX resource. Now wxIE was inside the ActiveX.xs, but I think that we don't need to split this in other ./ext, just in other XS. Graciliano M. P. |