Click here to Skip to main content
16,008,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sounds like a good idea for... Pin
Anna-Jayne Metcalfe30-May-01 9:25
Anna-Jayne Metcalfe30-May-01 9:25 
GeneralClip Button with a Rgn Pin
28-May-01 2:45
suss28-May-01 2:45 
GeneralRe: Clip Button with a Rgn Pin
Ravi Bhavnani29-May-01 6:08
professionalRavi Bhavnani29-May-01 6:08 
Questionhow to find process status Pin
28-May-01 2:12
suss28-May-01 2:12 
AnswerRe: how to find process status Pin
l a u r e n28-May-01 3:38
l a u r e n28-May-01 3:38 
GeneralRe: how to find process status Pin
28-May-01 18:35
suss28-May-01 18:35 
GeneralRe: how to find process status Pin
Christian Graus28-May-01 19:09
protectorChristian Graus28-May-01 19:09 
GeneralRe: how to find process status Pin
Ravi Bhavnani28-May-01 20:12
professionalRavi Bhavnani28-May-01 20:12 
You could do a SendMessage (you'd need a window handle) in a separate thread, record the "ping" time, and have your checker app's main thread query the worker thread's ping time. If the time is undefined (eg: < 0) after a time "t", you could unsafely assume the target process is compute bound. I think Win9x/NT uses t == 20 seconds.

Hope this helps.

/ravi

"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
GeneralRe: how to find process status Pin
Ravi Bhavnani29-May-01 6:03
professionalRavi Bhavnani29-May-01 6:03 
GeneralRe: how to find process status Pin
NormDroid28-May-01 21:29
professionalNormDroid28-May-01 21:29 
AnswerRe: how to find process status Pin
28-May-01 21:12
suss28-May-01 21:12 
GeneralPROCESS STATUS Pin
28-May-01 1:52
suss28-May-01 1:52 
GeneralRe: PROCESS STATUS Pin
Christian Graus28-May-01 2:00
protectorChristian Graus28-May-01 2:00 
GeneralRe: PROCESS STATUS Pin
#realJSOP29-May-01 0:44
professional#realJSOP29-May-01 0:44 
GeneralPROCESS STATUS Pin
28-May-01 1:52
suss28-May-01 1:52 
GeneralRe: PROCESS STATUS Pin
Ghazi H. Wadi28-May-01 6:55
Ghazi H. Wadi28-May-01 6:55 
GeneralVB and C++ Pin
28-May-01 1:28
suss28-May-01 1:28 
GeneralRe: VB and C++ Pin
Christian Graus28-May-01 1:51
protectorChristian Graus28-May-01 1:51 
Generalstd::cout redirect to socket Pin
ernst.maurer28-May-01 1:07
ernst.maurer28-May-01 1:07 
GeneralClistCtrl Pin
28-May-01 1:07
suss28-May-01 1:07 
GeneralRe: ClistCtrl Pin
Christian Graus28-May-01 1:37
protectorChristian Graus28-May-01 1:37 
GeneralRe: ClistCtrl Pin
28-May-01 4:27
suss28-May-01 4:27 
Generaltoolbar in dialog can't be set check state Pin
julia28-May-01 0:58
julia28-May-01 0:58 
GeneralRe: toolbar in dialog can't be set check state Pin
Christian Graus28-May-01 1:57
protectorChristian Graus28-May-01 1:57 
GeneralTime display II Pin
27-May-01 21:47
suss27-May-01 21:47 

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.