Click here to Skip to main content
15,884,099 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Raise thread safe event Pin
Roger Stoltz2-Apr-09 11:58
Roger Stoltz2-Apr-09 11:58 
QuestionHow To Import and use Com file in c++ Pin
snouto2-Apr-09 7:34
snouto2-Apr-09 7:34 
AnswerRe: How To Import and use Com file in c++ Pin
CPallini2-Apr-09 7:44
mveCPallini2-Apr-09 7:44 
JokeRe: How To Import and use Com file in c++ Pin
Stuart Dootson2-Apr-09 7:48
professionalStuart Dootson2-Apr-09 7:48 
JokeRe: How To Import and use Com file in c++ Pin
CPallini2-Apr-09 7:59
mveCPallini2-Apr-09 7:59 
AnswerRe: How To Import and use Com file in c++ Pin
Iain Clarke, Warrior Programmer2-Apr-09 8:16
Iain Clarke, Warrior Programmer2-Apr-09 8:16 
QuestionDeleting the Main Window Pin
BobInNJ2-Apr-09 6:10
BobInNJ2-Apr-09 6:10 
AnswerRe: Deleting the Main Window Pin
Stuart Dootson2-Apr-09 7:17
professionalStuart Dootson2-Apr-09 7:17 
BobInNJ wrote:
I plan to delete the object in the routine ExitInstance


Seems reasonable.

BobInNJ wrote:
I would think this would be standard practice but I have not seen any examples in my MFC books that do this. I am wondering why. Could it be that these authors do not do this because they feel it is does not matter since the application will terminate anyway?


Probsbly.

Personally, I use smart pointers[^] to hold pointers. For this case, I might well use a boost::scoped_ptr, which would deallocate the memory in the CWinApp destructor.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

AnswerRe: Deleting the Main Window Pin
Iain Clarke, Warrior Programmer2-Apr-09 8:19
Iain Clarke, Warrior Programmer2-Apr-09 8:19 
AnswerRe: Deleting the Main Window Pin
Stuart Dootson2-Apr-09 11:26
professionalStuart Dootson2-Apr-09 11:26 
QuestionRTD in MFC application Pin
trioum2-Apr-09 4:34
trioum2-Apr-09 4:34 
AnswerRe: RTD in MFC application Pin
led mike2-Apr-09 4:46
led mike2-Apr-09 4:46 
GeneralRe: RTD in MFC application Pin
trioum2-Apr-09 4:57
trioum2-Apr-09 4:57 
QuestionRe: RTD in MFC application Pin
led mike2-Apr-09 8:17
led mike2-Apr-09 8:17 
GeneralRe: RTD in MFC application Pin
CPallini2-Apr-09 9:33
mveCPallini2-Apr-09 9:33 
QuestionRe: RTD in MFC application Pin
David Crow2-Apr-09 5:20
David Crow2-Apr-09 5:20 
AnswerRe: RTD in MFC application Pin
trioum2-Apr-09 5:25
trioum2-Apr-09 5:25 
QuestionRe: RTD in MFC application Pin
David Crow2-Apr-09 5:28
David Crow2-Apr-09 5:28 
AnswerRe: RTD in MFC application Pin
trioum2-Apr-09 5:34
trioum2-Apr-09 5:34 
QuestionRe: RTD in MFC application Pin
led mike2-Apr-09 8:20
led mike2-Apr-09 8:20 
JokeRe: RTD in MFC application Pin
CPallini2-Apr-09 9:38
mveCPallini2-Apr-09 9:38 
QuestionHow to get time in microseconds? Pin
kapardhi2-Apr-09 3:10
kapardhi2-Apr-09 3:10 
AnswerRe: How to get time in microseconds? [modified] Pin
David Crow2-Apr-09 3:26
David Crow2-Apr-09 3:26 
GeneralRe: How to get time in microseconds? Pin
CPallini2-Apr-09 3:30
mveCPallini2-Apr-09 3:30 
JokeRe: How to get time in microseconds? Pin
David Crow2-Apr-09 3:33
David Crow2-Apr-09 3:33 

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.