Click here to Skip to main content
15,902,842 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Strange problem with pointers Pin
Mohan Ramachandra24-Mar-10 21:00
Mohan Ramachandra24-Mar-10 21:00 
QuestionWindows XP Problems since updating from VS2005 to VS2008 Pin
Joschwenk66623-Mar-10 11:12
Joschwenk66623-Mar-10 11:12 
AnswerRe: Windows XP Problems since updating from VS2005 to VS2008 Pin
Iain Clarke, Warrior Programmer23-Mar-10 12:06
Iain Clarke, Warrior Programmer23-Mar-10 12:06 
GeneralRe: Windows XP Problems since updating from VS2005 to VS2008 Pin
Joschwenk66624-Mar-10 8:22
Joschwenk66624-Mar-10 8:22 
GeneralRe: Windows XP Problems since updating from VS2005 to VS2008 Pin
Iain Clarke, Warrior Programmer24-Mar-10 9:32
Iain Clarke, Warrior Programmer24-Mar-10 9:32 
QuestionGetFileToSave and Windows 7 Pin
Psychopasta23-Mar-10 10:18
Psychopasta23-Mar-10 10:18 
QuestionRe: GetFileToSave and Windows 7 Pin
David Crow24-Mar-10 2:53
David Crow24-Mar-10 2:53 
AnswerRe: GetFileToSave and Windows 7 Pin
Psychopasta24-Mar-10 5:42
Psychopasta24-Mar-10 5:42 
Hi David,

Thanks! I am trying to track down any hardware problems like that, but my interest here is in whether anyone can spot something we've missed in the code snippet I posted. It has run just fine for 20 years or so, but you know how it is...sometimes you just 'get away with it' and then something else changes and what used to work just fine stops doing so.

BTW, I should have said originally that the actual API function we use is GetSaveFileName. GetFileToSave is our function to fill the structure ofn which is declared elsewhere as

static OPENFILENAME ofn;

The problem is that GetOpenFileName opens the common control Save As dialog, which -in rare cases- will wait about 30 seconds before responding to the OK button being pressed.

Thanks again,

- Mark
QuestionRichEdit wrong list numbering with letters Pin
wp7323-Mar-10 8:55
wp7323-Mar-10 8:55 
AnswerRe: RichEdit wrong list numbering with letters Pin
wp7324-Mar-10 3:15
wp7324-Mar-10 3:15 
Questionproblem displaying unicode filenames in a list box Pin
sashoalm23-Mar-10 7:25
sashoalm23-Mar-10 7:25 
AnswerRe: problem displaying unicode filenames in a list box Pin
Eugen Podsypalnikov23-Mar-10 22:19
Eugen Podsypalnikov23-Mar-10 22:19 
QuestionSimple Treeview in MFC 2008 Pin
D.Manivelan23-Mar-10 3:54
D.Manivelan23-Mar-10 3:54 
AnswerRe: Simple Treeview in MFC 2008 Pin
Maximilien23-Mar-10 4:12
Maximilien23-Mar-10 4:12 
AnswerRe: Simple Treeview in MFC 2008 Pin
Iain Clarke, Warrior Programmer23-Mar-10 8:33
Iain Clarke, Warrior Programmer23-Mar-10 8:33 
QuestionStaticly linking MFC in VS2008 app produces compiling errors Pin
josip cagalj22-Mar-10 23:03
josip cagalj22-Mar-10 23:03 
AnswerRe: Staticly linking MFC in VS2008 app produces compiling errors Pin
CPallini22-Mar-10 23:26
mveCPallini22-Mar-10 23:26 
GeneralRe: Staticly linking MFC in VS2008 app produces compiling errors Pin
josip cagalj23-Mar-10 0:02
josip cagalj23-Mar-10 0:02 
GeneralRe: Staticly linking MFC in VS2008 app produces compiling errors Pin
CPallini23-Mar-10 0:07
mveCPallini23-Mar-10 0:07 
GeneralRe: Staticly linking MFC in VS2008 app produces compiling errors [modified] Pin
josip cagalj23-Mar-10 0:31
josip cagalj23-Mar-10 0:31 
AnswerRe: Staticly linking MFC in VS2008 app produces compiling errors Pin
KarstenK23-Mar-10 4:12
mveKarstenK23-Mar-10 4:12 
GeneralRe: Staticly linking MFC in VS2008 app produces compiling errors Pin
josip cagalj23-Mar-10 4:51
josip cagalj23-Mar-10 4:51 
AnswerRe: Staticly linking MFC in VS2008 app produces compiling errors Pin
Avi Berger23-Mar-10 6:02
Avi Berger23-Mar-10 6:02 
GeneralRe: Staticly linking MFC in VS2008 app produces compiling errors Pin
josip cagalj23-Mar-10 21:37
josip cagalj23-Mar-10 21:37 
QuestionHow to convert Chinese Unicode string to ANSI multibyte? Pin
tmx22-Mar-10 22:56
tmx22-Mar-10 22:56 

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.