On 15 Nov 2004 at 9:56, Jim Klo wrote:

> Basically, I have a COM server that needs a UI.  The UI needs to be 
> localizable. XUL provides a very nice architecture for building a 
> localizable interface. When I came across the Mox ActiveX, that 
> implements the functionality of the MS WebBrowser, I want to be able to
> create a localized UI using XUL, and was hoping i could access the external
> object, like you can from the MSWB control. Giving me the best of both
> worlds.
> 
> I tried building a standalone Mozilla, but the dox are really incomplete
> for building a complete app by embedding gecko.  Piggybacking on top of a
> Mozilla distro is not an option.
> 
> Any advice would be greatly appreciated.

Not suggesting this as your route, but here's what I did.

I used Python with venster and ctypes (and py2exe) to create a binary .exe 
written in 
Python. It uses the 'ATL window hack' to load the Moz Ax control in the 
application window. 
This is as far as you've gotten I guess.

Then, instead of using GetExternal, I use pyxpcom to expose Python code to XUL 
files that I 
subsequently load in the activeX control.

So, perhaps you can use xpcom and register (at runtime) a service or interface 
with the 
activeX control. xpcom is "like com", but just a tad different.



-- 
Brad Clements,                [EMAIL PROTECTED]   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
http://www.wecanstopspam.org/                   AOL-IM: BKClements

_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to