FIX: Common File Dialog Multiple Selection File Limit (179372)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
- the operating system: Microsoft Windows NT 4.0
This article was previously published under Q179372 SYMPTOMS
When you use the GetOpenFileName API or the MFC CFileDialog class with the
OFN_ALLOWMULTISELECT flag on Windows NT 4.0, you are limited to the number
of characters that will be returned in the file name buffer.
CAUSE
The cause is in the common file dialog box code in Comdlg32.dll in Windows
NT 4.0 and Windows NT 4.0 with Service Pack 1.
RESOLUTION
Install Windows NT 4.0 Service Pack 2 or later.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug was corrected in Windows NT 4.0 Service Pack 2 or later. REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
99097
HOWTO: Customize Common Dialog Box Parameter Blocks
162160
DOC: CFileDialog::DoModal Does Not Return 0
131225
PRB: CFileDialog::DoModal() Does Not Display FileOpen Dialog
115087
HOWTO: Change the Background Color of a Common Dialog
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbBug kbCmnDlg kbCmnDlgFileO kbCmnDlgSave kbcode kbfix kbOSWinNT400sp2fix KB179372 |
---|
|