Click here to Skip to main content
15,918,624 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do you execute a file in memory, is it even possible... Pin
David Crow7-Apr-05 6:55
David Crow7-Apr-05 6:55 
AnswerRe: How do you execute a file in memory, is it even possible... Pin
Michael Dunn7-Apr-05 7:19
sitebuilderMichael Dunn7-Apr-05 7:19 
GeneralRe: How do you execute a file in memory, is it even possible... Pin
LighthouseJ7-Apr-05 12:45
LighthouseJ7-Apr-05 12:45 
GeneralThank You... Pin
Jabish7-Apr-05 13:21
Jabish7-Apr-05 13:21 
GeneralRe: Thank You... Pin
David Crow7-Apr-05 16:31
David Crow7-Apr-05 16:31 
QuestionAfxBeginThread() ??????????? Pin
Static(x)7-Apr-05 5:43
Static(x)7-Apr-05 5:43 
AnswerRe: AfxBeginThread() ??????????? Pin
David Crow7-Apr-05 6:54
David Crow7-Apr-05 6:54 
AnswerRe: AfxBeginThread() ??????????? Pin
Joel Holdsworth7-Apr-05 6:57
Joel Holdsworth7-Apr-05 6:57 
Well... The AfxBeginThread function will simple create a thread to do work on the controller function you specify. So the CPU usage is down to what's in the function you write. If you write a function which crunches numbers in a loop or whatver, then your CPU usage will go to 100% while the function keeps crunching. However, if you only need to run a calculation intermittently try using Sleep(100), or CEvents to put the thread into suspended animation giving the rest of the threads time to do their jobs.

What are you trying to do with your worker thread?

Joel Holdsworth

Wanna give me a job this summer?
Check out my online CV and project history[^]
GeneralRe: AfxBeginThread() ??????????? Pin
Static(x)7-Apr-05 7:54
Static(x)7-Apr-05 7:54 
AnswerRe: AfxBeginThread() ??????????? Pin
LighthouseJ7-Apr-05 16:04
LighthouseJ7-Apr-05 16:04 
GeneralVC++.Net - Debugging XLL Pin
JSadleir7-Apr-05 3:20
JSadleir7-Apr-05 3:20 
QuestionHow does the process create threads? Pin
binh.pham7-Apr-05 3:20
binh.pham7-Apr-05 3:20 
AnswerRe: How does the process create threads? Pin
toxcct7-Apr-05 3:33
toxcct7-Apr-05 3:33 
AnswerRe: How does the process create threads? Pin
David Crow7-Apr-05 4:46
David Crow7-Apr-05 4:46 
GeneralRe: How does the process create threads? Pin
Alexander M.,7-Apr-05 4:54
Alexander M.,7-Apr-05 4:54 
GeneralRe: How does the process create threads? Pin
David Crow7-Apr-05 4:57
David Crow7-Apr-05 4:57 
GeneralProblem adding a user control in my application Pin
a7corsair7-Apr-05 3:10
a7corsair7-Apr-05 3:10 
Generalproblem with singleton as lib Pin
javatheist7-Apr-05 2:42
javatheist7-Apr-05 2:42 
GeneralRe: problem with singleton as lib Pin
Blake Miller7-Apr-05 4:21
Blake Miller7-Apr-05 4:21 
GeneralBitmap 'editing' Pin
mcsherry7-Apr-05 2:26
mcsherry7-Apr-05 2:26 
GeneralRe: Bitmap 'editing' Pin
David Crow7-Apr-05 2:28
David Crow7-Apr-05 2:28 
GeneralRe: Bitmap 'editing' Pin
mcsherry7-Apr-05 2:35
mcsherry7-Apr-05 2:35 
GeneralRe: Bitmap 'editing' Pin
David Crow7-Apr-05 4:55
David Crow7-Apr-05 4:55 
GeneralRe: Bitmap 'editing' Pin
mcsherry7-Apr-05 21:48
mcsherry7-Apr-05 21:48 
GeneralPCA algorithm Pin
Rassul Yunussov7-Apr-05 1:37
Rassul Yunussov7-Apr-05 1:37 

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.