Click here to Skip to main content
15,921,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How about this? Pin
BlackDice23-Sep-04 11:59
BlackDice23-Sep-04 11:59 
GeneralRe: How about this? Pin
Tom Wright23-Sep-04 12:04
Tom Wright23-Sep-04 12:04 
GeneralRe: How about this? Pin
Michael Dunn23-Sep-04 12:03
sitebuilderMichael Dunn23-Sep-04 12:03 
GeneralRe: How about this? Pin
Tom Wright23-Sep-04 12:24
Tom Wright23-Sep-04 12:24 
GeneralRe: How about this? Pin
Tom Wright23-Sep-04 12:32
Tom Wright23-Sep-04 12:32 
GeneralRe: How about this? Pin
Michael Dunn23-Sep-04 15:13
sitebuilderMichael Dunn23-Sep-04 15:13 
GeneralRe: How about this? Pin
markkuk23-Sep-04 23:58
markkuk23-Sep-04 23:58 
General_CrtIsValidHeapPointer ASSERTS Pin
BlackDice23-Sep-04 10:43
BlackDice23-Sep-04 10:43 
I posted a question earlier about SafeArrayAccessData(), but I've made a few changes to my code since then. Now when I don't delete the pointer that was allocated on the heap, I have memory leaks reported. When I try to delete the pointer to free the memory my program crashes in "dbgheap.c" in the _CrtIsValidHeapPointer() function. Does anyone know what might be going on and why I can't delete the pointer? It's not null, but stepping through the code, I see it gets changed after the calls to SafeArrayUnAccessData().

[insert witty comment here]

bdiamond Sleepy | :zzz:
GeneralRe: _CrtIsValidHeapPointer ASSERTS Pin
Michael Dunn23-Sep-04 11:45
sitebuilderMichael Dunn23-Sep-04 11:45 
GeneralRe: _CrtIsValidHeapPointer ASSERTS Pin
BlackDice23-Sep-04 11:51
BlackDice23-Sep-04 11:51 
GeneralTCHAR pointer character count Pin
Gimpy198323-Sep-04 9:53
Gimpy198323-Sep-04 9:53 
GeneralRe: TCHAR pointer character count Pin
João Paulo Figueira23-Sep-04 10:05
professionalJoão Paulo Figueira23-Sep-04 10:05 
GeneralRe: TCHAR pointer character count Pin
Gimpy198323-Sep-04 10:09
Gimpy198323-Sep-04 10:09 
GeneralRe: TCHAR pointer character count Pin
João Paulo Figueira23-Sep-04 11:06
professionalJoão Paulo Figueira23-Sep-04 11:06 
GeneralRe: TCHAR pointer character count Pin
Peter Weyzen23-Sep-04 11:32
Peter Weyzen23-Sep-04 11:32 
GeneralRe: TCHAR pointer character count Pin
Michael Dunn23-Sep-04 11:49
sitebuilderMichael Dunn23-Sep-04 11:49 
QuestionSource code formatter? Pin
Ravi Bhavnani23-Sep-04 9:53
professionalRavi Bhavnani23-Sep-04 9:53 
AnswerRe: Source code formatter? Pin
markkuk23-Sep-04 10:27
markkuk23-Sep-04 10:27 
GeneralRe: Source code formatter? Pin
Ravi Bhavnani23-Sep-04 12:31
professionalRavi Bhavnani23-Sep-04 12:31 
GeneralRecommend a free unit testing framework Pin
hyling23-Sep-04 9:44
hyling23-Sep-04 9:44 
GeneralRe: Recommend a free unit testing framework Pin
Ravi Bhavnani23-Sep-04 9:51
professionalRavi Bhavnani23-Sep-04 9:51 
GeneralRe: Recommend a free unit testing framework Pin
Andrew Walker23-Sep-04 17:50
Andrew Walker23-Sep-04 17:50 
GeneralRe: Recommend a free unit testing framework Pin
Moak24-Sep-04 1:25
Moak24-Sep-04 1:25 
GeneralOutputting 2 different displays to 2 monitors Pin
Member 331020123-Sep-04 9:39
Member 331020123-Sep-04 9:39 
GeneralRe: Outputting 2 different displays to 2 monitors Pin
David Crow24-Sep-04 7:40
David Crow24-Sep-04 7:40 

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.