COM Server & wxPython

N

nelson

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
 
D

Dave Mandelin

nelson said:
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/python-win32/2002-May/000349.html

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

Philippe Martin

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top