Click here to Skip to main content
16,015,991 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Access variables in CMyView Pin
Tom Archer12-Jun-05 18:22
Tom Archer12-Jun-05 18:22 
GeneralRe: Access variables in CMyView Pin
hcmuns12-Jun-05 21:21
susshcmuns12-Jun-05 21:21 
GeneralRe: Access variables in CMyView Pin
hcmuns12-Jun-05 22:41
susshcmuns12-Jun-05 22:41 
QuestionDoes anyone know RLC? Pin
Member 199230312-Jun-05 17:12
Member 199230312-Jun-05 17:12 
GeneralMessage forwarding.... Pin
dobrzan12-Jun-05 11:20
dobrzan12-Jun-05 11:20 
GeneralSimple grid in a view Pin
scientist4712-Jun-05 10:22
scientist4712-Jun-05 10:22 
GeneralReturning a value from a Worker Thread Pin
Steve Messer12-Jun-05 8:41
Steve Messer12-Jun-05 8:41 
GeneralRe: Returning a value from a Worker Thread Pin
DavidR_r12-Jun-05 9:38
DavidR_r12-Jun-05 9:38 
Your problem is that the main thread ends its work before the working thread gets a chance to do anything. it even does not has time for the context switch. You should use events. Check the WaitForSingleObject(), CreateEvent() and SetEvent() functions in MSDN. Generally you should wait for the event in the main thread and send it from the working thread when it's finished.
Good luck

DavidR
GeneralRe: Returning a value from a Worker Thread Pin
Steve Messer12-Jun-05 10:29
Steve Messer12-Jun-05 10:29 
GeneralRe: Returning a value from a Worker Thread Pin
Tom Archer12-Jun-05 13:44
Tom Archer12-Jun-05 13:44 
GeneralRe: Returning a value from a Worker Thread Pin
Steve Messer12-Jun-05 16:38
Steve Messer12-Jun-05 16:38 
GeneralRe: Returning a value from a Worker Thread Pin
Tom Archer12-Jun-05 18:20
Tom Archer12-Jun-05 18:20 
Generalimage processing Pin
prabhathgk12-Jun-05 7:51
prabhathgk12-Jun-05 7:51 
GeneralRe: image processing Pin
DavidR_r12-Jun-05 9:41
DavidR_r12-Jun-05 9:41 
GeneralDelta time in mSec Pin
Ravi Bhavnani12-Jun-05 6:48
professionalRavi Bhavnani12-Jun-05 6:48 
GeneralSolved! Pin
Ravi Bhavnani12-Jun-05 7:34
professionalRavi Bhavnani12-Jun-05 7:34 
GeneralAre function calls that costly? Need help optimizing Pin
Budric B.12-Jun-05 6:32
Budric B.12-Jun-05 6:32 
GeneralRe: Are function calls that costly? Need help optimizing Pin
liquid_12-Jun-05 7:35
liquid_12-Jun-05 7:35 
GeneralRe: Are function calls that costly? Need help optimizing Pin
Budric B.12-Jun-05 7:52
Budric B.12-Jun-05 7:52 
GeneralRe: Are function calls that costly? Need help optimizing Pin
squidev12-Jun-05 7:44
squidev12-Jun-05 7:44 
GeneralRe: Are function calls that costly? Need help optimizing Pin
Tom Archer12-Jun-05 13:50
Tom Archer12-Jun-05 13:50 
GeneralRe: Are function calls that costly? Need help optimizing Pin
PJ Arends12-Jun-05 17:35
professionalPJ Arends12-Jun-05 17:35 
GeneralRe: Are function calls that costly? Need help optimizing Pin
Budric B.13-Jun-05 4:09
Budric B.13-Jun-05 4:09 
GeneralCapturing Sound Pin
Identity Undisclosed12-Jun-05 6:18
Identity Undisclosed12-Jun-05 6:18 
QuestionHow to remove the close button correctly in a rebar control? Pin
Dani10000112-Jun-05 5:08
Dani10000112-Jun-05 5:08 

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.