Click here to Skip to main content
15,914,396 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: html generation Pin
basementman8-Mar-04 13:13
basementman8-Mar-04 13:13 
GeneralGetFocus() returns NULL Pin
Swinefeaster7-Mar-04 18:58
Swinefeaster7-Mar-04 18:58 
GeneralRe: GetFocus() returns NULL Pin
Prakash Nadar7-Mar-04 19:07
Prakash Nadar7-Mar-04 19:07 
Generaldirectx 8 / 9 issues Pin
siniani7-Mar-04 16:24
siniani7-Mar-04 16:24 
GeneralThread programming question Pin
Madmaximus7-Mar-04 15:41
Madmaximus7-Mar-04 15:41 
GeneralRe: Thread programming question Pin
Prakash Nadar7-Mar-04 15:48
Prakash Nadar7-Mar-04 15:48 
GeneralRe: Thread programming question Pin
Madmaximus7-Mar-04 16:19
Madmaximus7-Mar-04 16:19 
GeneralRe: Thread programming question Pin
Prakash Nadar7-Mar-04 16:38
Prakash Nadar7-Mar-04 16:38 
Opps sorry for the stupid answer... You are creating a thread.
But i dont think you have access to the this pointer in the static method.

To delete the object in the thread function you need to pass the this pointer to the thread. Then you delete it when the thread has done its job.

But what if the same object initiates 2 threads???? then the second call to delete of the same object will fail.
You have to make sure that the same object does not create another thread.



MSN Messenger.
prakashnadar@msn.com
GeneralRe: Thread programming question Pin
Curi0us_George7-Mar-04 16:43
Curi0us_George7-Mar-04 16:43 
Generalhot to set the step value in spin Pin
Mughi7-Mar-04 15:26
Mughi7-Mar-04 15:26 
GeneralRe: hot to set the step value in spin Pin
Prakash Nadar8-Mar-04 1:10
Prakash Nadar8-Mar-04 1:10 
GeneralRe: hot to set the step value in spin Pin
David Crow8-Mar-04 4:47
David Crow8-Mar-04 4:47 
GeneralRe: hot to set the step value in spin Pin
Roger Wright8-Mar-04 9:21
professionalRoger Wright8-Mar-04 9:21 
GeneralRe: hot to set the step value in spin Pin
David Crow8-Mar-04 9:28
David Crow8-Mar-04 9:28 
GeneralRe: hot to set the step value in spin Pin
Roger Wright8-Mar-04 10:09
professionalRoger Wright8-Mar-04 10:09 
GeneralNeed opinions on proposed Plugin framework Pin
Anonymous7-Mar-04 15:13
Anonymous7-Mar-04 15:13 
GeneralRe: Need opinions on proposed Plugin framework Pin
Prakash Nadar7-Mar-04 15:43
Prakash Nadar7-Mar-04 15:43 
GeneralI need help understanding this part of DirectShow SDK Pin
Redbehelit7-Mar-04 15:10
Redbehelit7-Mar-04 15:10 
GeneralRe: I need help understanding this part of DirectShow SDK Pin
GDavy7-Mar-04 19:58
GDavy7-Mar-04 19:58 
GeneralC++ Question. Pin
WREY7-Mar-04 14:05
WREY7-Mar-04 14:05 
GeneralRe: C++ Question. Pin
Prakash Nadar7-Mar-04 14:58
Prakash Nadar7-Mar-04 14:58 
GeneralRe: C++ Question. Pin
WREY7-Mar-04 15:58
WREY7-Mar-04 15:58 
GeneralRe: C++ Question. Pin
Prakash Nadar7-Mar-04 16:11
Prakash Nadar7-Mar-04 16:11 
GeneralRe: C++ Question. Pin
Steve S7-Mar-04 22:20
Steve S7-Mar-04 22:20 
GeneralMFC: Can't insert controls after inserting an ActiveX Control!! Pin
Davex_7-Mar-04 12:21
Davex_7-Mar-04 12:21 

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.