Click here to Skip to main content
15,895,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: some libraries are not getting linked in debug mode(vs-2008) but working in release mode Pin
Rajesh R Subramanian21-Sep-09 19:49
professionalRajesh R Subramanian21-Sep-09 19:49 
GeneralRe: some libraries are not getting linked in debug mode(vs-2008) but working in release mode Pin
Saurabh.Garg21-Sep-09 19:58
Saurabh.Garg21-Sep-09 19:58 
GeneralRe: some libraries are not getting linked in debug mode(vs-2008) but working in release mode Pin
Rajesh R Subramanian22-Sep-09 0:06
professionalRajesh R Subramanian22-Sep-09 0:06 
AnswerRe: some libraries are not getting linked in debug mode(vs-2008) but working in release mode Pin
Saurabh.Garg21-Sep-09 15:38
Saurabh.Garg21-Sep-09 15:38 
Questionhow to use Workbook.XmlImport() method in C++ Pin
Andraw11121-Sep-09 4:35
Andraw11121-Sep-09 4:35 
AnswerRe: how to use Workbook.XmlImport() method in C++ Pin
Andraw11121-Sep-09 4:42
Andraw11121-Sep-09 4:42 
QuestionMigrating from vs-2003 to vs-2008,LNK2019:unresolved external symbol Pin
Vetukuri Raju21-Sep-09 3:52
Vetukuri Raju21-Sep-09 3:52 
AnswerRe: Migrating from vs-2003 to vs-2008,LNK2019:unresolved external symbol Pin
Richard MacCutchan21-Sep-09 7:34
mveRichard MacCutchan21-Sep-09 7:34 
GeneralRe: Migrating from vs-2003 to vs-2008,LNK2019:unresolved external symbol Pin
Vetukuri Raju22-Sep-09 4:28
Vetukuri Raju22-Sep-09 4:28 
GeneralRe: Migrating from vs-2003 to vs-2008,LNK2019:unresolved external symbol Pin
Richard MacCutchan22-Sep-09 6:11
mveRichard MacCutchan22-Sep-09 6:11 
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 
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 
Naveen wrote:
ya. I thought if the module is small, you know the count of other threads.


No, this is a fairly large project (even though the module that uses thread pools is relatively small). But of course yes, I can do my little test with a smaller dummy project. Smile | :)

Naveen wrote:
BTW where is the option to find out the thread pool's thread count in process explorer?


There's no direct option as such, but the no. of threads that we create manually (as opposed to being managed by a pool managing algorithm driven by the OS), we have a count of it. Add 1 to it (the application's main thread). Now, we can subtract this number from the number of threads shown by process explorer for our process.

I was thinking of exploiting two things as well:

1. Entry point of the thread (like you said)
2. Do some experimenting with TLS (TLS won't work "properly" with pools, because any thread might execute the thread code, but TLS is guaranteed to be unique for a given thread).

I'll notify you if I post a reply here. But, I need to get some sleep now. I've had a long day. Smile | :)


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

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 

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.