Click here to Skip to main content
15,867,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can PostThreadMessage Post to a Thread in a Different Process Pin
Adam Roderick J9-Apr-10 19:25
Adam Roderick J9-Apr-10 19:25 
AnswerRe: Can PostThreadMessage Post to a Thread in a Different Process Pin
cmk9-Apr-10 15:15
cmk9-Apr-10 15:15 
AnswerRe: Can PostThreadMessage Post to a Thread in a Different Process [modified] Pin
Adam Roderick J9-Apr-10 18:58
Adam Roderick J9-Apr-10 18:58 
QuestionDestructElements() and destructor not getting called Pin
David Crow9-Apr-10 6:34
David Crow9-Apr-10 6:34 
AnswerRe: DestructElements() and destructor not getting called Pin
Chris Losinger9-Apr-10 6:41
professionalChris Losinger9-Apr-10 6:41 
GeneralRe: DestructElements() and destructor not getting called Pin
David Crow9-Apr-10 7:37
David Crow9-Apr-10 7:37 
GeneralRe: DestructElements() and destructor not getting called Pin
Chris Losinger9-Apr-10 7:49
professionalChris Losinger9-Apr-10 7:49 
QuestionRe: DestructElements() and destructor not getting called Pin
David Crow9-Apr-10 7:59
David Crow9-Apr-10 7:59 
Wow! In VS6, those two lines are not commented out. I guess that MSDN is wrong when it states:

Removes all the values from this map by calling the global helper function DestructElements.


So, is there no longer a way for the framework to assist in freeing heap objects from a map? I can work around this by deriving a class from CMap and implementing a "cleanup" method that I can call instead of RemoveAll(), but didn't want to unless I had to.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Man who follows car will be exhausted." - Confucius


AnswerRe: DestructElements() and destructor not getting called Pin
Chris Losinger9-Apr-10 8:08
professionalChris Losinger9-Apr-10 8:08 
AnswerRe: DestructElements() and destructor not getting called Pin
Eugen Podsypalnikov9-Apr-10 8:58
Eugen Podsypalnikov9-Apr-10 8:58 
GeneralRe: DestructElements() and destructor not getting called Pin
David Crow9-Apr-10 9:21
David Crow9-Apr-10 9:21 
GeneralRe: DestructElements() and destructor not getting called Pin
Moak9-Apr-10 10:14
Moak9-Apr-10 10:14 
GeneralRe: DestructElements() and destructor not getting called Pin
Eugen Podsypalnikov9-Apr-10 10:43
Eugen Podsypalnikov9-Apr-10 10:43 
AnswerRe: DestructElements() and destructor not getting called Pin
CPallini9-Apr-10 11:41
mveCPallini9-Apr-10 11:41 
AnswerRe: DestructElements() and destructor not getting called Pin
Ajay Vijayvargiya11-Apr-10 4:34
Ajay Vijayvargiya11-Apr-10 4:34 
QuestionReg to Unicode and MBCS problem in socket programing Pin
rrthangavel9-Apr-10 5:19
rrthangavel9-Apr-10 5:19 
QuestionRe: Reg to Unicode and MBCS problem in socket programing Pin
CPallini9-Apr-10 7:21
mveCPallini9-Apr-10 7:21 
AnswerRe: Reg to Unicode and MBCS problem in socket programing Pin
Migounette10-Apr-10 1:46
Migounette10-Apr-10 1:46 
AnswerRe: Reg to Unicode and MBCS problem in socket programing Pin
Ajay Vijayvargiya11-Apr-10 4:40
Ajay Vijayvargiya11-Apr-10 4:40 
Questionget notification of a particular process start Pin
Cvaji9-Apr-10 4:58
Cvaji9-Apr-10 4:58 
AnswerRe: get notification of a particular process start Pin
David Crow9-Apr-10 5:42
David Crow9-Apr-10 5:42 
QuestionCStdioFile issue! :( Pin
Arrin9-Apr-10 4:18
Arrin9-Apr-10 4:18 
AnswerRe: CStdioFile issue! :) Pin
Cvaji9-Apr-10 5:28
Cvaji9-Apr-10 5:28 
GeneralRe: CStdioFile issue! :) Pin
Arrin13-Apr-10 4:49
Arrin13-Apr-10 4:49 
AnswerRe: CStdioFile issue! :( Pin
Ajay Vijayvargiya11-Apr-10 4:44
Ajay Vijayvargiya11-Apr-10 4:44 

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.