Using win32ui (or wxPython) in COM-server

Nikolai Kirsebom nikolai.kirsebom at siemens.no
Wed Oct 31 03:54:05 EST 2001


We have an application (written in C++/MFC/T-SQL) where we use Word
(MS) as an editor.  Word is started by our application as a COM-server
(automation).  When started, Word with all its features/functions
(except some programmatically removed functions) is available to the
user.  Word is started "Modally" - the rest of our application is
frozen while Word is active.  Some parameterisation of Word is done
from our application (by using the object model Word exposes).  Some
features implemented in VBA make it possible for the user to extract
information for the database.  This is done by calling back into our
application (which then actually acts as a COM-server to Word), which
again accesses the database (use the current db connection).

Now to the question.  Does anyone know if it is possible to develop a
python based COM-server which also has a GUI (based on win32ui or
maybe wxPython) working principally like described above.  I've tried
using the simple COM-server examples from M.Hammond/Andy Robinsons
book, however I'm not able to have the GUI created.

Thanks for any help/hints.

Nikolai Kirsebom




More information about the Python-list mailing list