Re: [python-win32] large buffer with GetOpenFileNameW

2018-06-03 Thread Andrew Ziem
Yes, that worked to increase the buffer. Thank you, Tim. :) Andrew On Thu, May 24, 2018 at 12:10 PM, Tim Roberts wrote: > Andrew Ziem wrote: >> When I select a few files, the dialog works, but when I select many >> files, I get the following error. Do you have any advice? >> >> error: (12291, '

Re: [python-win32] large buffer with GetOpenFileNameW

2018-05-24 Thread Tim Roberts
Andrew Ziem wrote: > When I select a few files, the dialog works, but when I select many > files, I get the following error. Do you have any advice? > > error: (12291, 'GetOpenFileNameW', 'No error message is available') > > Error 12291 is FNERR_BUFFERTOOSMALL Yes.  The code in win32gui.i only all

[python-win32] large buffer with GetOpenFileNameW

2018-05-22 Thread Andrew Ziem
When I select a few files, the dialog works, but when I select many files, I get the following error. Do you have any advice? error: (12291, 'GetOpenFileNameW', 'No error message is available') Error 12291 is FNERR_BUFFERTOOSMALL The full code is below import win32con import win32gui ret = wi