Click here to Skip to main content
16,005,080 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hiding the Menu in a MFC Application Pin
Remus Lazar5-Sep-00 23:07
Remus Lazar5-Sep-00 23:07 
GeneralChanging default icon for saved documents in SDI Pin
Savage5-Sep-00 13:58
Savage5-Sep-00 13:58 
GeneralRe: Changing default icon for saved documents in SDI Pin
Michael Dunn5-Sep-00 18:19
sitebuilderMichael Dunn5-Sep-00 18:19 
GeneralUnicode vs. ANSI string Pin
Member 117662575-Sep-00 11:57
Member 117662575-Sep-00 11:57 
GeneralRe: Unicode vs. ANSI string Pin
Serge Velikevitch15-Sep-00 11:11
sussSerge Velikevitch15-Sep-00 11:11 
GeneralBeginner Q: Viewing the contents of an array in the watch window Pin
Matthias Steinbart5-Sep-00 5:17
sussMatthias Steinbart5-Sep-00 5:17 
GeneralRe: Beginner Q: Viewing the contents of an array in the watch window Pin
arf5-Sep-00 6:00
arf5-Sep-00 6:00 
GeneralCFileDialog problems on Win2000 with read only files Pin
Ronald L. Russell Jr. (Ron)5-Sep-00 3:42
sussRonald L. Russell Jr. (Ron)5-Sep-00 3:42 
I have run across a problem using CfileDialog on Windows 2000 for which I have not yet found a solution. The problem is as follows:

If I instantiate an instance of a CFileDialog passing TRUE as the first parameter and accepting the default values for all other parameters, and then call DoModal(..) on the object, then the standard CFileDialog is displayed. However, if I navigate to any folder that contains a read-only files, then I hit a user breakpoint deep within NTDLL.

To see this problem, the simplest possible reproduction is to create a dialog based MFC app that uses CFileDialog as its main window.

I had thought that specifying the OFN_DONTADDTORECENT flag might fix this problem but it did not. I also tried getting rid of the OFN_HIDEREADONLY flag, but that had no effect either.

Once the breakpoint is called in NTDLL, you can step over it to receive a 2nd which can be stepped over as well, and then the program continues normally until you shut it down at which point 2 additional breakpoints are encountered. Of course, in release mode, the operation is seamless and no problems are evident.

I have not been able to find anything at MSDN online that gives a description of the problem or a work around. If anyone has any information on a workaround that will keep Win2000 from hitting this internal breakpoint, I would appreciate it
GeneralRe: CFileDialog problems on Win2000 with read only files Pin
jschacker5-Sep-00 5:31
jschacker5-Sep-00 5:31 
GeneralWriting DevStudio Add-Ins Pin
#realJSOP5-Sep-00 3:29
professional#realJSOP5-Sep-00 3:29 
GeneralZip/Unzip class Pin
Franky Braem5-Sep-00 0:41
Franky Braem5-Sep-00 0:41 
GeneralRe: Zip/Unzip class Pin
Jeremy Davis5-Sep-00 22:17
Jeremy Davis5-Sep-00 22:17 
GeneralRe: Zip/Unzip class Pin
Franky Braem6-Sep-00 1:13
Franky Braem6-Sep-00 1:13 
GeneralRe: Zip/Unzip class Pin
Jeremy Davis6-Sep-00 1:36
Jeremy Davis6-Sep-00 1:36 
GeneralRe: Zip/Unzip class Pin
Jeremy Davis6-Sep-00 1:36
Jeremy Davis6-Sep-00 1:36 
GeneralLocalization of resources Pin
Chris Vischer5-Sep-00 0:09
Chris Vischer5-Sep-00 0:09 
GeneralRe: Localization of resources Pin
lauren5-Sep-00 4:29
lauren5-Sep-00 4:29 
GeneralCapture events of an ATL component Pin
Ivan Ng4-Sep-00 23:56
Ivan Ng4-Sep-00 23:56 
QuestionWM_SETFOCUS / WM_KILLFOCUS in dialog based apps... ????? Pin
Carlo Comino4-Sep-00 22:29
sussCarlo Comino4-Sep-00 22:29 
AnswerRe: WM_SETFOCUS / WM_KILLFOCUS in dialog based apps... ????? Pin
Ivan Ng4-Sep-00 23:54
Ivan Ng4-Sep-00 23:54 
GeneralInstallShield Pin
Eq4-Sep-00 21:25
Eq4-Sep-00 21:25 
GeneralInstallShield Pin
Eq4-Sep-00 21:25
Eq4-Sep-00 21:25 
GeneralInstallShield Pin
Eq4-Sep-00 21:25
Eq4-Sep-00 21:25 
GeneralReading INI files Pin
#realJSOP4-Sep-00 16:35
professional#realJSOP4-Sep-00 16:35 
GeneralRe: Reading INI files Pin
Michael Dunn4-Sep-00 18:03
sitebuilderMichael Dunn4-Sep-00 18:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.