[python-win32] OLE Server Busy dialog box

Diogo odiogo at kameruuh.eu
Wed Aug 2 13:16:46 CEST 2006


Hi all!

I've been trying to solve a small but disturbing problem with
win32com, but I can't.
It's the "OLE Server Busy" problem [1]:
"If you call a method on a COM server from an MFC COM client
application and if the method takes a long time to process and return
back, you won't be able to do anything on the client application and
the OLE Server Busy dialog box pops up..."

The link explains how to solve it. But it's not that straight forward
in python. They suggest using Afx* functions. So I tried putting that
on a DLL and then calling them from python using pyrex. But it didn't
work out. The functions are called, but the program crashes when
trying to access a member of the Filter. And adding a DLL only makes
it more complex. There should be a simple-clean way to do that.

Anyone had this problem before? Anyone figured out a way to fix it?

Thanks in advance,
Diogo


[1] http://support.microsoft.com/?scid=kb%3Ben-us%3B248019&x=14&y=15


More information about the Python-win32 mailing list