wxPython and activex problem.

一首诗 newptcai at gmail.com
Tue Dec 19 11:51:23 EST 2006


Hi all!

Have u tried genaxmodule.py provided by wxPython to create a wrapper
module for an activex control?

For me, some times it works, but some times, it doesn't.
-----------------------------------------------------
Traceback (most recent call last):
File "genaxmodule.py", line 42, in ?
main(sys.argv)
File "genaxmodule.py", line 32, in main
axw = wx.activex.ActiveXWindow(f, clsid)
File "C:\Python23\Lib\site-packages\wx-2.6-msw-ansi\wx\activex.py",
line 268, in __init__
newobj = _activex.new_ActiveXWindow(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed in
contrib\activex\wxie/wxactivex.cpp(322): m_ActiveX.CreateInstance
failed
------------------------------------------------------

For some job, I do need to use activex and I have to choose languages
other than python if genaxmodule doesn't work.  It's really annoying.




More information about the Python-list mailing list