OpenFileDlg multiselect upper limit? URGENT, Please!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm making a post prosessing tool,. I have a directory with 832 files with
somewhat long file names. When selecting all the files using OpenfileDlg with
multiselect activated, the dialog returns with message that it could not find
all files (selected in the box). I suspect some kind of text buffer is not
sufficient big.

Is there an upper limit on files or characters? Can it be adjusted?

Regards Jesper, DK
 
Hi,

I'm making a post prosessing tool,. I have a directory with 832 files with
somewhat long file names. When selecting all the files using OpenfileDlg with
multiselect activated, the dialog returns with message that it could not find
all files (selected in the box). I suspect some kind of text buffer is not
sufficient big.

Is there an upper limit on files or characters? Can it be adjusted?

Yes, 8192 characters is the size of the buffer passed to the
underlying OPENFILENAME structure used in the Open and Save As file
dialogs. No, It cannot be adjusted.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top