Click here to Skip to main content
15,918,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCRT Dependencies Detection - App Deployment Pin
snir_ya19-Mar-08 5:08
snir_ya19-Mar-08 5:08 
GeneralRe: CRT Dependencies Detection - App Deployment Pin
Cedric Moonen19-Mar-08 5:13
Cedric Moonen19-Mar-08 5:13 
GeneralRe: CRT Dependencies Detection - App Deployment Pin
led mike19-Mar-08 5:18
led mike19-Mar-08 5:18 
GeneralRe: CRT Dependencies Detection - App Deployment Pin
Matthew Faithfull19-Mar-08 5:20
Matthew Faithfull19-Mar-08 5:20 
GeneralRe: CRT Dependencies Detection - App Deployment Pin
snir_ya19-Mar-08 5:28
snir_ya19-Mar-08 5:28 
GeneralRe: CRT Dependencies Detection - App Deployment Pin
Matthew Faithfull19-Mar-08 6:50
Matthew Faithfull19-Mar-08 6:50 
QuestionUnique hardware code Pin
Joseph Marzbani19-Mar-08 4:43
Joseph Marzbani19-Mar-08 4:43 
QuestionRe: Unique hardware code Pin
Maximilien19-Mar-08 5:10
Maximilien19-Mar-08 5:10 
GeneralRe: Unique hardware code Pin
Chris Losinger19-Mar-08 7:16
professionalChris Losinger19-Mar-08 7:16 
GeneralRe: Unique hardware code Pin
James R. Twine19-Mar-08 8:37
James R. Twine19-Mar-08 8:37 
GeneralNative C++ resources in a .NET application Pin
hatemtaleb19-Mar-08 4:20
hatemtaleb19-Mar-08 4:20 
GeneralRe: Native C++ resources in a .NET application Pin
led mike19-Mar-08 4:41
led mike19-Mar-08 4:41 
GeneralRe: Native C++ resources in a .NET application Pin
hatemtaleb19-Mar-08 5:02
hatemtaleb19-Mar-08 5:02 
GeneralRe: Native C++ resources in a .NET application Pin
led mike19-Mar-08 5:08
led mike19-Mar-08 5:08 
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 
GeneralRe: Sending messages to parent Pin
William Engberts19-Mar-08 4:13
William Engberts19-Mar-08 4:13 
Iain,

Thanks for your remarks. I do not think that the postmessage is the problem either, since I see the results of processing the message which has obviously been sent and processed. The crash occurs somwhere later.
I do not use the HWND of the modeless dialog box at all. I use the HWND of the parent dialog, which remains active all the time. This is the window that has to process the message (write changes to a file and update the list control).
I tried to keep the modeless dialog box in existence (using ShowWindow (SW_HIDE) rather than DestroyWindow. I still send the message before hiding the window, with exactly the same result: BANGGG!!
I did try to debug the darned thing, but then it behaves like an angel. No crashes, however often I enter and destro the subwindows.....
I also found out that it does not matter if I enter the same modeless dialog box twice, or if I enter one and then another. The second OK will make the system crash (in the release version)

William
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 

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.