create activex control using wxpython?

I need to create an ActiveX control to be used in other guys' Visual C++
project. It listens an UDP port and parse the data and update the UI
elements (several StaticText controls). I haven't touch the ugly MFC
for several years, so I will be quite happy if this work can be done
using my favorite python and wxpython.

I google'd but find all the articles talking about _using_ ActiveX
controls in wxPython. Can it be _created_ using wxPython? Or wxWidgets?

···

--
Qiangning Hong

________________________________________
( To the landlord belongs the doorknobs. )
----------------------------------------
       o \_______
v__v o \ O )
(--) ||----w |
(__) || || \/\

Qiangning Hong wrote:

I need to create an ActiveX control to be used in other guys' Visual
C++ project. It listens an UDP port and parse the data and update the
UI elements (several StaticText controls). I haven't touch the ugly
MFC for several years, so I will be quite happy if this work can be
done using my favorite python and wxpython.

I think no. The only thing you can do is an exe or a dll com server with
the py2exe's help.

I google'd but find all the articles talking about _using_ ActiveX controls in wxPython. Can it be _created_ using wxPython? Or
wxWidgets?

What you mean with wxWidgets? The C++ library? Like its home page say:

"""
OLE automation support
If you need full OLE support, with object linking and embedding,
structured storage, ActiveX development and so on, then wxWidgets is not
for you. However, wxWidgets does have an OLE trick up its sleeve: the
wxAutomationObject provides you with easy-to-use support for calling OLE
automation servers. In fact it's as easy to use as automation support in
Visual Basic. Obviously, this is limited to the Windows platform until
Microsoft port the technology to other platforms.
"""

So I don't think that it's so simple to use!

P.s. In the mailing-lists archive I read that Robin say to a user that
there is a possibility to do this, with win32all or ctypes, but I don't
know how.

Michele