Click here to Skip to main content
15,887,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to use the CMFCShellListCtrl Class ? Pin
ryan_lee21-Sep-09 3:36
ryan_lee21-Sep-09 3:36 
QuestionDetect USB Pendrive Pin
Manmohan2921-Sep-09 3:27
Manmohan2921-Sep-09 3:27 
QuestionRe: Detect USB Pendrive Pin
David Crow21-Sep-09 4:01
David Crow21-Sep-09 4:01 
AnswerRe: Detect USB Pendrive [modified] Pin
Iain Clarke, Warrior Programmer21-Sep-09 6:07
Iain Clarke, Warrior Programmer21-Sep-09 6:07 
JokeRe: Detect USB Pendrive Pin
Rajesh R Subramanian21-Sep-09 9:02
professionalRajesh R Subramanian21-Sep-09 9:02 
GeneralRe: Detect USB Pendrive Pin
Iain Clarke, Warrior Programmer21-Sep-09 9:16
Iain Clarke, Warrior Programmer21-Sep-09 9:16 
JokeRe: Detect USB Pendrive Pin
Moak24-Sep-09 5:01
Moak24-Sep-09 5:01 
QuestionThread pool query Pin
Rajesh R Subramanian21-Sep-09 3:14
professionalRajesh R Subramanian21-Sep-09 3:14 
I am using the original thread pool API provided by Windows (Not the latest one present in Vista and above) and I use QueueUserWorkItem[^] to submit new work to the queue.

After the threads start to execute and several work items are queued, is there any way with which I could find out the number of threads alive in the threadpool (including idle ones, if any)? I know that I can be monitoring this with tools like ProcessMonitor from sysinternals. But, that's not what I want. I'm not able to find something like GetThreadCount() the thread pool API.

I do understand that there is no need for me to know this, because the thread pool API guarantees to take care of dynamically creating or destroying threads depending on the work load and other criteria. However, I'm just curious. Smile | :)

Many thanks.


It is a crappy thing, but it's life -^ Carlo Pallini

AnswerRe: Thread pool query Pin
Naveen21-Sep-09 4:04
Naveen21-Sep-09 4:04 
GeneralRe: Thread pool query Pin
Rajesh R Subramanian21-Sep-09 4:42
professionalRajesh R Subramanian21-Sep-09 4:42 
GeneralRe: Thread pool query Pin
Naveen21-Sep-09 7:10
Naveen21-Sep-09 7:10 
GeneralRe: Thread pool query Pin
Rajesh R Subramanian21-Sep-09 7:48
professionalRajesh R Subramanian21-Sep-09 7:48 
QuestionCell change event in Excel Pin
NarVish21-Sep-09 0:35
NarVish21-Sep-09 0:35 
AnswerRe: Cell change event in Excel Pin
Stuart Dootson21-Sep-09 2:35
professionalStuart Dootson21-Sep-09 2:35 
GeneralRe: Cell change event in Excel Pin
NarVish21-Sep-09 20:31
NarVish21-Sep-09 20:31 
GeneralRe: Cell change event in Excel Pin
NarVish23-Sep-09 23:26
NarVish23-Sep-09 23:26 
GeneralRe: Cell change event in Excel Pin
Stuart Dootson24-Sep-09 5:57
professionalStuart Dootson24-Sep-09 5:57 
GeneralRe: Cell change event in Excel Pin
NarVish24-Sep-09 19:32
NarVish24-Sep-09 19:32 
GeneralRe: Cell change event in Excel Pin
Stuart Dootson24-Sep-09 20:11
professionalStuart Dootson24-Sep-09 20:11 
GeneralRe: Cell change event in Excel Pin
NarVish24-Sep-09 21:26
NarVish24-Sep-09 21:26 
GeneralRe: Cell change event in Excel Pin
Stuart Dootson25-Sep-09 4:03
professionalStuart Dootson25-Sep-09 4:03 
GeneralRe: Cell change event in Excel Pin
NarVish29-Sep-09 19:45
NarVish29-Sep-09 19:45 
GeneralRe: Cell change event in Excel Pin
NarVish30-Sep-09 18:29
NarVish30-Sep-09 18:29 
GeneralRe: Cell change event in Excel Pin
NarVish15-Oct-09 1:38
NarVish15-Oct-09 1:38 
GeneralRe: Cell change event in Excel Pin
Stuart Dootson15-Oct-09 2:26
professionalStuart Dootson15-Oct-09 2:26 

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.