Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Type Conversion happens while writing to Logfile in VC++ Pin
Jochen Arndt28-Jun-16 22:29
professionalJochen Arndt28-Jun-16 22:29 
AnswerRe: Type Conversion happens while writing to Logfile in VC++ Pin
Richard MacCutchan28-Jun-16 22:53
mveRichard MacCutchan28-Jun-16 22:53 
GeneralRe: Type Conversion happens while writing to Logfile in VC++ Pin
aruzhere28-Jun-16 23:04
aruzhere28-Jun-16 23:04 
GeneralRe: Type Conversion happens while writing to Logfile in VC++ Pin
Richard MacCutchan28-Jun-16 23:43
mveRichard MacCutchan28-Jun-16 23:43 
GeneralRe: Type Conversion happens while writing to Logfile in VC++ Pin
aruzhere29-Jun-16 2:24
aruzhere29-Jun-16 2:24 
GeneralRe: Type Conversion happens while writing to Logfile in VC++ Pin
aruzhere29-Jun-16 2:42
aruzhere29-Jun-16 2:42 
QuestionopenMP loop and exception Pin
Joerg Michels27-Jun-16 23:38
Joerg Michels27-Jun-16 23:38 
QuestionHeap Corruption issue Pin
Ben Aldhouse21-Jun-16 10:27
Ben Aldhouse21-Jun-16 10:27 
I've got an application which has two dialogs, I use a deque and Direct2D in one dialog within a thread. Now, if I close the application via handling WM_CLOSE I have no problem but when I try and close it by clicking on 'Close Window' in the task bar or using Alt F4 I get a breakpoint triggered on

C++
if (!HeapFree(select_heap(block), 0, block))


I know it's a long shot since I have given so little detail - but seeing as the difference seems to be in the way I close the app down I was hoping there might be a quick and easy fix for this.

Yours hopefully,

Ben

*Update since I posted in this it the next door forum, this morning, by mistake: I still get the same error if the thread (and hence the direct2d drawing) isn't running. Perhaps it is something to do with the way I set up the dialogs.
QuestionRe: Heap Corruption issue Pin
David Crow21-Jun-16 10:47
David Crow21-Jun-16 10:47 
AnswerRe: Heap Corruption issue Pin
Ben Aldhouse21-Jun-16 12:45
Ben Aldhouse21-Jun-16 12:45 
QuestionWinsock - FD_WRITE Pin
Vijjuuu.21-Jun-16 4:54
Vijjuuu.21-Jun-16 4:54 
AnswerRe: Winsock - FD_WRITE Pin
David Crow21-Jun-16 7:19
David Crow21-Jun-16 7:19 
GeneralRe: Winsock - FD_WRITE Pin
Vijjuuu.21-Jun-16 8:04
Vijjuuu.21-Jun-16 8:04 
GeneralRe: Winsock - FD_WRITE Pin
David Crow21-Jun-16 8:12
David Crow21-Jun-16 8:12 
GeneralRe: Winsock - FD_WRITE Pin
Vijjuuu.21-Jun-16 8:21
Vijjuuu.21-Jun-16 8:21 
GeneralRe: Winsock - FD_WRITE Pin
David Crow21-Jun-16 9:19
David Crow21-Jun-16 9:19 
AnswerRe: Winsock - FD_WRITE Pin
Member 1260667928-Jun-16 20:47
Member 1260667928-Jun-16 20:47 
QuestionDLL files from wmi Pin
Member 1253112919-Jun-16 22:10
Member 1253112919-Jun-16 22:10 
AnswerRe: DLL files from wmi Pin
Jochen Arndt19-Jun-16 22:30
professionalJochen Arndt19-Jun-16 22:30 
QuestionPrint class Members? Pin
bosfan16-Jun-16 5:29
bosfan16-Jun-16 5:29 
AnswerRe: Print class Members? Pin
Maximilien16-Jun-16 5:41
Maximilien16-Jun-16 5:41 
QuestionRe: Print class Members? Pin
David Crow16-Jun-16 6:12
David Crow16-Jun-16 6:12 
AnswerRe: Print class Members? Pin
bosfan5-Aug-16 4:24
bosfan5-Aug-16 4:24 
AnswerRe: Print class Members? Pin
David Crow5-Aug-16 4:27
David Crow5-Aug-16 4:27 
AnswerRe: Print class Members? Pin
CPallini17-Jun-16 0:22
mveCPallini17-Jun-16 0:22 

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.