[python-win32] ActiveX dll error - Non-modal forms cannot be displayed in this host application

Rasjid Wilcox rasjidw at gmail.com
Fri Jul 11 14:20:37 CEST 2008


Hi,

I have an ActiveX dll that I am trying to use in a Python script.

I can dispatch the control, but when I try to runs its 'open' command, I get
the following error:

"Non-modal forms cannot be displayed in this host application from an
ActiveX DLL, ActiveX Control, or Property Page."

My googling seems to indicate that it is either something to do with
threading model differences, or something to do with MsoStdCompMgr.

Does anyone have any suggestions on how to get around this problem??

Cheers,

Rasjid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20080711/fb7e18ac/attachment.htm>


More information about the python-win32 mailing list