Hi!
Some more details about the server busy dialog box.
This program, that I'm working with, calls MakeActiveXClass(wxPython),
which calls pywin.mfc.CreateControl, which calls
win32ui.CreateControl. If I connect to a slow COM server just _before_
the call to win32ui.CreateControl, then everything
I can throw you a new win32uiole module with the functions referenced in the
knowledge base article, but apart from trying to fiddle with the main
thread's thread-state (search for 'sys.coinit_flags'), I can't offer much
more help...
Mark
> Some more details about the server busy dialog box.
>
>
> * The call to Dispatch happens
> * The __wrapDispatch is called with an object for dispatch but the
> username is None
> * The getTypeInfo method throws an pywintypes.com_error which has
> the message of (-2147467263, 'Not implemented', None, None)
It is that last step wh
Can anyone explain to me why the following code will return a list if I select 12 files but will return None if I select 13?#file: pdf_batch_plot.py#auth: Tim Riley#rev: 0#desc: Allows the selection of multiple pdf files and batch plots them to pdf.
##Note: This program requires the win32all packa
Tim Riley wrote:
> Can anyone explain to me why the following code will return a list if
> I select 12 files but will return None if I select 13?
It's an ugly but well-known limitation: the buffer passed to
CreateFileDialog is big, but not big enough. When you select more files
than will fit, t
You can call win32gui.CommDlgExtendedError() to find
the reason why it failed. If the buffer size is actually the
problem, it will return winerror.FNERR_BUFFERTOOSMALL
(12291).
win32gui.GetOpenFileNameW creates the same type of dialog,
and you can use the MaxFile argument to specify a large buffe
At Wednesday 9/8/2006 17:41, Tim Roberts wrote:
> Can anyone explain to me why the following code will return a list if
> I select 12 files but will return None if I select 13?
It's an ugly but well-known limitation: the buffer passed to
CreateFileDialog is big, but not big enough. When you s