A bug constraining the number of files checked in CFileDialog dlg(..OFN_ALLOWMULTISELECT...)

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

Guest

On my platform (Windows 2000, Visual C++5.0) if user checks more than about 1200 files in the dialog box, the dlg.DoModal() routine trunkates the string of file names and posts an error message on the last (trunkated) file name adding "Please verify the correct filename was given". For my platform, does anybody know any available fix for this bug from Microsoft? A service pack, article how to bypass the bug?

With regards, Daniel
 
From Daniel: sorry I misprinted: Actually I use C++ 6.0 as a compiler. I think that the bug is more a property of the Windows operational system rather than be attached to a version of compiler. It should be a bug not only for Windows 2000, but for XP as well. It strikes any application involving a dialog with a big number of files taged for the input. I wonder why there is no fix or discussion about the problem.

With regards for any hint. Daniel
 
On my platform (Windows 2000, Visual C++5.0) if user checks more than about 1200 files in the dialog box, the dlg.DoModal() routine trunkates the string of file names and posts an error message on the last (trunkated) file name adding "Please verify the correct filename was given". For my platform, does anybody know any available fix for this bug from Microsoft? A service pack, article how to bypass the bug?

Daniel,

Can you post a short snippet of code that illustrates the problem? The
minimal amount of code that someone can paste into an existing MFC
application will suffice.

Dave
 
Back
Top