Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: console to dialog Pin
Member 216100418-Sep-05 17:44
Member 216100418-Sep-05 17:44 
GeneralRe: console to dialog Pin
Christian Graus18-Sep-05 17:48
protectorChristian Graus18-Sep-05 17:48 
GeneralRe: console to dialog Pin
Member 216100418-Sep-05 18:09
Member 216100418-Sep-05 18:09 
GeneralRe: console to dialog Pin
Christian Graus18-Sep-05 18:10
protectorChristian Graus18-Sep-05 18:10 
GeneralRe: console to dialog Pin
Member 216100418-Sep-05 20:43
Member 216100418-Sep-05 20:43 
GeneralRe: console to dialog Pin
Bob Stanneveld18-Sep-05 22:22
Bob Stanneveld18-Sep-05 22:22 
GeneralRe: console to dialog Pin
Christian Graus19-Sep-05 10:55
protectorChristian Graus19-Sep-05 10:55 
QuestionCFileDialog Pin
Achim Klein18-Sep-05 12:14
Achim Klein18-Sep-05 12:14 
Hi folks,

I got a problem with CFileDialog.

This is my code:
// select index file
CFileDialog dlg(TRUE, 0, 0, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, "Text files (.txt)|*.txt||");

// show dialog
if (dlg.DoModal() == IDCANCEL) return;

And this is my problem:
When I open this dialog the first time, everything works fine.
But when I open it the second time (just after I selected a file in the first run) both the CFileDialog and my dialog-based application disappear.
The error occurs right when the CFileDialog wants to show a small 'tooltip'(?) window in wich some file information is presented. The same small window is shown in the first run without any problem, but in the second run my application crashes just when the window is to be shown.
In debug mode I get the message 'Access violation in Shell32.dll'.

Any ideas what's going wrong ?
Unfortunately I got none...

Thanks


We can do no great things, only small things with great love. - Mother Theresa
AnswerRe: CFileDialog Pin
Achim Klein18-Sep-05 12:28
Achim Klein18-Sep-05 12:28 
AnswerRe: CFileDialog Pin
Achim Klein24-Sep-05 0:27
Achim Klein24-Sep-05 0:27 
QuestionWindows Installer Question Pin
Cpt Rick18-Sep-05 9:11
Cpt Rick18-Sep-05 9:11 
QuestionPress any key to continue Pin
kenexcelon18-Sep-05 6:23
kenexcelon18-Sep-05 6:23 
AnswerRe: Press any key to continue Pin
kenexcelon18-Sep-05 6:23
kenexcelon18-Sep-05 6:23 
AnswerRe: Press any key to continue Pin
Ghasrfakhri18-Sep-05 6:26
Ghasrfakhri18-Sep-05 6:26 
GeneralRe: Press any key to continue Pin
kenexcelon18-Sep-05 6:42
kenexcelon18-Sep-05 6:42 
GeneralRe: Press any key to continue Pin
User 1278218-Sep-05 17:39
User 1278218-Sep-05 17:39 
QuestionHow to locate a file handle for applying DuplicateHandle() ? Pin
Hillel18-Sep-05 5:02
Hillel18-Sep-05 5:02 
QuestionListView Multiple selction problem Pin
ayon11118-Sep-05 4:30
ayon11118-Sep-05 4:30 
QuestionPlease help me about Rational Test Manager Pin
a_kiani18-Sep-05 4:11
a_kiani18-Sep-05 4:11 
QuestionCString prob Pin
benjnp18-Sep-05 3:50
benjnp18-Sep-05 3:50 
AnswerRe: CString prob Pin
Alexander M.,18-Sep-05 4:09
Alexander M.,18-Sep-05 4:09 
GeneralRe: CString prob Pin
benjnp18-Sep-05 16:09
benjnp18-Sep-05 16:09 
AnswerRe: CString prob Pin
ThatsAlok18-Sep-05 18:32
ThatsAlok18-Sep-05 18:32 
AnswerRe: CString prob Pin
kakan18-Sep-05 19:41
professionalkakan18-Sep-05 19:41 
QuestionDialog menu Pin
benjnp18-Sep-05 3:47
benjnp18-Sep-05 3:47 

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.