Click here to Skip to main content
15,900,725 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Waiting on a handle that's closed before signaling Pin
Steve S14-Sep-06 22:59
Steve S14-Sep-06 22:59 
QuestionA strange debug error Pin
Waldermort14-Sep-06 8:21
Waldermort14-Sep-06 8:21 
AnswerRe: A strange debug error Pin
PJ Arends14-Sep-06 8:31
professionalPJ Arends14-Sep-06 8:31 
GeneralRe: A strange debug error Pin
Waldermort14-Sep-06 8:35
Waldermort14-Sep-06 8:35 
GeneralRe: A strange debug error Pin
Waldermort14-Sep-06 8:50
Waldermort14-Sep-06 8:50 
GeneralRe: A strange debug error Pin
PJ Arends14-Sep-06 9:03
professionalPJ Arends14-Sep-06 9:03 
GeneralRe: A strange debug error Pin
Waldermort14-Sep-06 9:11
Waldermort14-Sep-06 9:11 
GeneralRe: A strange debug error Pin
Zac Howland14-Sep-06 9:36
Zac Howland14-Sep-06 9:36 
PJ Arends wrote:
In your destructor be sure to set the thisPtr to NULL, and in the StaticProc be sure to check for NULL. If you don't you could run into problems if you have multiple instances of your class active.


He won't be able to have multiple instances of this object. What he has is a hacked-up singleton (which I don't think is what he wants).

I can't test this at the moment, but I believe if you pass SetTimer your member function as &CMyClass::MyTimerFunc it will avoid the need to make it static.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

QuestionRe: A strange debug error Pin
David Crow14-Sep-06 8:50
David Crow14-Sep-06 8:50 
QuestionAdding a childwindow to an application other than my own Pin
beeejay14-Sep-06 7:48
beeejay14-Sep-06 7:48 
AnswerRe: Adding a childwindow to an application other than my own Pin
Hamid_RT15-Sep-06 7:20
Hamid_RT15-Sep-06 7:20 
QuestionATL Control Pin
Demian Panello14-Sep-06 6:21
Demian Panello14-Sep-06 6:21 
QuestionFormat Issue On Console Output From Text File !!! New To C++ Pin
Mark_Murphy14-Sep-06 6:20
Mark_Murphy14-Sep-06 6:20 
AnswerRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Zac Howland14-Sep-06 7:41
Zac Howland14-Sep-06 7:41 
GeneralRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Mark_Murphy14-Sep-06 8:24
Mark_Murphy14-Sep-06 8:24 
GeneralRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Zac Howland14-Sep-06 9:05
Zac Howland14-Sep-06 9:05 
AnswerRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Eric Dahlvang14-Sep-06 8:20
Eric Dahlvang14-Sep-06 8:20 
GeneralRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Mark_Murphy14-Sep-06 8:29
Mark_Murphy14-Sep-06 8:29 
GeneralRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Mark_Murphy14-Sep-06 9:09
Mark_Murphy14-Sep-06 9:09 
GeneralRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Eric Dahlvang14-Sep-06 9:20
Eric Dahlvang14-Sep-06 9:20 
GeneralRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Mark_Murphy14-Sep-06 9:36
Mark_Murphy14-Sep-06 9:36 
GeneralRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Zac Howland14-Sep-06 9:39
Zac Howland14-Sep-06 9:39 
GeneralRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Mark_Murphy14-Sep-06 10:05
Mark_Murphy14-Sep-06 10:05 
GeneralRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Eric Dahlvang14-Sep-06 10:29
Eric Dahlvang14-Sep-06 10:29 
GeneralRe: Format Issue On Console Output From Text File !!! New To C++ Pin
Mark_Murphy14-Sep-06 11:45
Mark_Murphy14-Sep-06 11:45 

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.