469,642 Members | 1,113 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,642 developers. It's quick & easy.

COM Server & wxPython

Hi all,
i'm doing a COM server that have to expose some graphics (panels and
configuration controls), that would be embedded in an application through
OLE. I was wondering if I can do this using wxPython. Another question is
if my COM server would inherits from one of the wxPython class. If it's
true, from which? wx.App, wx.Frame, wx.Panel.

The important thing is that i would to have the same effect that you have
when you the calendar OLE control on a Delphi or VB form (you see the
graphics ;) )

thanks,
nelson

Apr 1 '06 #1
2 1323
nelson wrote:
Hi all,
i'm doing a COM server that have to expose some graphics (panels and
configuration controls), that would be embedded in an application through
OLE. I was wondering if I can do this using wxPython. Another question is
if my COM server would inherits from one of the wxPython class. If it's
true, from which? wx.App, wx.Frame, wx.Panel.

The important thing is that i would to have the same effect that you have
when you the calendar OLE control on a Delphi or VB form (you see the
graphics ;) )

thanks,
nelson


I found a mailing list message in which one person got errors trying to
make a wx.Frame into a COM server, and someone else claimed to have
made a wx app into a COM server (and unfortunately that project seems
to have disappeared):

http://mail.python.org/pipermail/pyt...ay/000349.html

If inheriting from a wxPython class doesn't work, maybe you can create
a COM server wrapper for the wxPython class.

--
Want to play tabletop RPGs online?
Check out RPZen: http://koboldsoft.com

Apr 3 '06 #2
Hi,

I do not know what your constraints are ... but, having been through the
same thought process (because there is not VB6 _free_ calendar) ... I feel
that getting to that stage _might_ justify rewriting the application in
Python/wxPython (and potentially gain cross-platform compatibility in the
process).

Philippe


nelson wrote:
Hi all,
i'm doing a COM server that have to expose some graphics (panels and
configuration controls), that would be embedded in an application through
OLE. I was wondering if I can do this using wxPython. Another question is
if my COM server would inherits from one of the wxPython class. If it's
true, from which? wx.App, wx.Frame, wx.Panel.

The important thing is that i would to have the same effect that you have
when you the calendar OLE control on a Delphi or VB form (you see the
graphics ;) )

thanks,
nelson


Apr 3 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by RJS | last post: by
2 posts views Thread by flupke | last post: by
5 posts views Thread by linuxfreak | last post: by
5 posts views Thread by Gilles DRIDI | last post: by
16 posts views Thread by PyDenis | last post: by
1 post views Thread by Eric von Horst | last post: by
3 posts views Thread by lee.walczak | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.