Click here to Skip to main content
16,007,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Use CListView or MSFlexgrid ??? Pin
Chris Maunder29-Oct-01 20:25
cofounderChris Maunder29-Oct-01 20:25 
GeneralMakefiles Pin
^GeeK^29-Oct-01 19:51
^GeeK^29-Oct-01 19:51 
Generalabout Font Pin
Maer72729-Oct-01 19:46
Maer72729-Oct-01 19:46 
GeneralRe: about Font Pin
Christian Graus29-Oct-01 23:24
protectorChristian Graus29-Oct-01 23:24 
GeneralRe: about Font Pin
Maer72729-Oct-01 23:47
Maer72729-Oct-01 23:47 
GeneralRe: about Font Pin
Jonathan de Halleux30-Oct-01 0:32
Jonathan de Halleux30-Oct-01 0:32 
GeneralRe: about Font Pin
Maer72731-Oct-01 1:34
Maer72731-Oct-01 1:34 
Generalabout "TLS" Pin
Maer72729-Oct-01 19:28
Maer72729-Oct-01 19:28 
- From MSDN it is said,
... A call to TlsAlloc() returns a global TLS index. This one TLS index is valid for every thread within the process that allocated it ...
... when TlsAlloc() is called, every thread within the process has its own private ULONG_PTR-sized space reserved for it (in its stack space, but this is implementation-specific) ...

- Suppose in a case, when thread A1 loads Dll B, and Dll B allocates a TLS in thread A1. And there are 2 threads in process P, thread A1 and thread A2. So when Dll B allocates a TLS in thread A1, thread A2 is also allocated a TLS with the same index. So we have 2 TLSs with the same index now.

- Am I right? But I think the TLS in thread A2 is useless place. (Suppose only thread A1 access Dll B)

- Can you help?

- Best regards,
Maer
GeneralRe: about "TLS" Pin
Steen Krogsgaard29-Oct-01 22:20
Steen Krogsgaard29-Oct-01 22:20 
GeneralRe: about "TLS" Pin
Steen Krogsgaard29-Oct-01 22:23
Steen Krogsgaard29-Oct-01 22:23 
GeneralRe: about "TLS" Pin
Maer72731-Oct-01 1:53
Maer72731-Oct-01 1:53 
GeneralHandling system color change in OpenGL apps. Pin
v_krishnan29-Oct-01 19:07
v_krishnan29-Oct-01 19:07 
GeneralDialogs inside MDI Pin
Christopher Lord29-Oct-01 18:40
Christopher Lord29-Oct-01 18:40 
GeneralRe: Dialogs inside MDI Pin
Steen Krogsgaard29-Oct-01 22:26
Steen Krogsgaard29-Oct-01 22:26 
GeneralAbout "Ctrl + ALT + DEL" Pin
29-Oct-01 18:33
suss29-Oct-01 18:33 
GeneralRe: About "Ctrl + ALT + DEL" Pin
Michael Dunn29-Oct-01 21:23
sitebuilderMichael Dunn29-Oct-01 21:23 
GeneralRe: About "Ctrl + ALT + DEL" Pin
29-Oct-01 22:22
suss29-Oct-01 22:22 
GeneralRe: About "Ctrl + ALT + DEL" Pin
2-Nov-01 14:01
suss2-Nov-01 14:01 
GeneralRe: About "Ctrl + ALT + DEL" Pin
Deepak Khajuria29-Oct-01 22:03
Deepak Khajuria29-Oct-01 22:03 
GeneralText To Speech Control...... Pin
29-Oct-01 18:31
suss29-Oct-01 18:31 
GeneralRe: Text To Speech Control...... Pin
Michael P Butler30-Oct-01 2:30
Michael P Butler30-Oct-01 2:30 
GeneralMake/Compile file problem Pin
29-Oct-01 16:02
suss29-Oct-01 16:02 
GeneralScrollbar question with RichEditControl Pin
gordingin29-Oct-01 15:10
gordingin29-Oct-01 15:10 
GeneralCListCtrl question (custom) Pin
29-Oct-01 14:39
suss29-Oct-01 14:39 
GeneralRe: CListCtrl question (custom) Pin
Tomasz Sowinski30-Oct-01 0:48
Tomasz Sowinski30-Oct-01 0:48 

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.