Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Native C++ resources in a .NET application Pin
hatemtaleb19-Mar-08 5:22
hatemtaleb19-Mar-08 5:22 
GeneralRe: Native C++ resources in a .NET application Pin
led mike19-Mar-08 5:28
led mike19-Mar-08 5:28 
GeneralRe: Native C++ resources in a .NET application Pin
hatemtaleb19-Mar-08 5:41
hatemtaleb19-Mar-08 5:41 
GeneralSending messages to parent Pin
William Engberts19-Mar-08 3:55
William Engberts19-Mar-08 3:55 
GeneralRe: Sending messages to parent Pin
Cedric Moonen19-Mar-08 3:59
Cedric Moonen19-Mar-08 3:59 
GeneralRe: Sending messages to parent Pin
William Engberts19-Mar-08 4:01
William Engberts19-Mar-08 4:01 
GeneralRe: Sending messages to parent Pin
CPallini19-Mar-08 4:17
mveCPallini19-Mar-08 4:17 
GeneralRe: Sending messages to parent Pin
Iain Clarke, Warrior Programmer19-Mar-08 4:03
Iain Clarke, Warrior Programmer19-Mar-08 4:03 
I would doubt that the PostMessage itself is the culprit - but the handler in your main window for the message might be.

The other thing to be careful of is that you aren't using the HWND value from the first incarnation of the modeless dialog after it is no longer valid.

Rather than ending the modeless-dialog, you could simply keep it in existence the who time, and just ShowWindow (SW_HIDE /SW_FALSE) it?

Obviosuly what the crash is will have a lot of information for you. You have debugged it and seen how it crashes, haven't you?

Iain.

Iain Clarke appears because CPallini still cares.

GeneralRe: Sending messages to parent Pin
William Engberts19-Mar-08 4:13
William Engberts19-Mar-08 4:13 
GeneralRe: Sending messages to parent Pin
William Engberts19-Mar-08 4:27
William Engberts19-Mar-08 4:27 
GeneralRe: Sending messages to parent Pin
Iain Clarke, Warrior Programmer19-Mar-08 5:19
Iain Clarke, Warrior Programmer19-Mar-08 5:19 
GeneralRe: Sending messages to parent Pin
William Engberts19-Mar-08 5:34
William Engberts19-Mar-08 5:34 
GeneralRe: Sending messages to parent Pin
Iain Clarke, Warrior Programmer19-Mar-08 5:45
Iain Clarke, Warrior Programmer19-Mar-08 5:45 
GeneralRe: Sending messages to parent Pin
ThatsAlok19-Mar-08 19:47
ThatsAlok19-Mar-08 19:47 
GeneralRe: Sending messages to parent Pin
Danielle Schmitt19-Mar-08 6:33
Danielle Schmitt19-Mar-08 6:33 
GeneralRe: Sending messages to parent Pin
Danielle Schmitt19-Mar-08 6:37
Danielle Schmitt19-Mar-08 6:37 
GeneralRe: Sending messages to parent Pin
SandipG 19-Mar-08 8:33
SandipG 19-Mar-08 8:33 
QuestionBig numbers Pin
k_micak19-Mar-08 3:51
k_micak19-Mar-08 3:51 
GeneralRe: Big numbers Pin
CPallini19-Mar-08 4:13
mveCPallini19-Mar-08 4:13 
GeneralRe: Big numbers Pin
Maximilien19-Mar-08 5:37
Maximilien19-Mar-08 5:37 
GeneralRe: Big numbers Pin
CPallini19-Mar-08 5:56
mveCPallini19-Mar-08 5:56 
GeneralRe: Big numbers [modified] Pin
Chris Losinger19-Mar-08 10:22
professionalChris Losinger19-Mar-08 10:22 
Questioncan anybody help me out [modified] Pin
philiptabraham19-Mar-08 3:36
philiptabraham19-Mar-08 3:36 
AnswerRe: can anybody help me out Pin
Reagan Conservative19-Mar-08 4:02
Reagan Conservative19-Mar-08 4:02 
GeneralRe: can anybody help me out Pin
philiptabraham19-Mar-08 5:00
philiptabraham19-Mar-08 5:00 

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.