Click here to Skip to main content
15,867,895 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Questiontrying to understand DLL and Thread local storage Pin
ForNow4-Dec-22 8:52
ForNow4-Dec-22 8:52 
AnswerRe: trying to understand DLL and Thread local storage Pin
Richard Deeming4-Dec-22 21:42
mveRichard Deeming4-Dec-22 21:42 
GeneralRe: trying to understand DLL and Thread local storage Pin
ForNow5-Dec-22 2:40
ForNow5-Dec-22 2:40 
GeneralRe: trying to understand DLL and Thread local storage Pin
Richard Deeming5-Dec-22 4:29
mveRichard Deeming5-Dec-22 4:29 
GeneralRe: trying to understand DLL and Thread local storage Pin
ForNow5-Dec-22 4:41
ForNow5-Dec-22 4:41 
GeneralRe: trying to understand DLL and Thread local storage Pin
Richard Deeming5-Dec-22 6:01
mveRichard Deeming5-Dec-22 6:01 
GeneralRe: trying to understand DLL and Thread local storage Pin
ForNow5-Dec-22 7:39
ForNow5-Dec-22 7:39 
AnswerRe: trying to understand DLL and Thread local storage Pin
Richard MacCutchan5-Dec-22 5:56
mveRichard MacCutchan5-Dec-22 5:56 
I'm not sure I quite understand what you are asking, but each thread gets its own stack (pointed at by SP) which provides all the thread local storage. It can also allocate its own storage through the normal methods. You have not really explained what g_dwThreadIndex is being used for in relation to the question. Does this all relate to some article, or specific MSDN page?
GeneralRe: trying to understand DLL and Thread local storage Pin
ForNow5-Dec-22 7:33
ForNow5-Dec-22 7:33 
GeneralRe: trying to understand DLL and Thread local storage Pin
Richard MacCutchan5-Dec-22 7:54
mveRichard MacCutchan5-Dec-22 7:54 
GeneralRe: trying to understand DLL and Thread local storage Pin
ForNow5-Dec-22 8:00
ForNow5-Dec-22 8:00 
AnswerRe: trying to understand DLL and Thread local storage Pin
jschell5-Dec-22 6:06
jschell5-Dec-22 6:06 
GeneralRe: trying to understand DLL and Thread local storage Pin
ForNow5-Dec-22 7:37
ForNow5-Dec-22 7:37 
GeneralRe: trying to understand DLL and Thread local storage Pin
jschell12-Dec-22 10:21
jschell12-Dec-22 10:21 
NewsGood news, /clr builds will soon add C++ 20 support! Pin
John Schroedl15-Nov-22 5:49
professionalJohn Schroedl15-Nov-22 5:49 
Questionrekursif Pin
Achmad Roihan28-Oct-22 2:31
Achmad Roihan28-Oct-22 2:31 
AnswerRe: rekursif Pin
OriginalGriff28-Oct-22 2:38
mveOriginalGriff28-Oct-22 2:38 
Questionrekursif program (Recursive Program) Pin
Achmad Roihan26-Oct-22 19:51
Achmad Roihan26-Oct-22 19:51 
AnswerRe: rekursif program (Recursive Program) Pin
OriginalGriff26-Oct-22 20:02
mveOriginalGriff26-Oct-22 20:02 
QuestionHow to close & clear the oledbconnection on form2()_load? Pin
Paramu19739-Oct-22 14:10
Paramu19739-Oct-22 14:10 
AnswerRe: How to close & clear the oledbconnection on form2()_load? Pin
Gerry Schmitz9-Oct-22 19:32
mveGerry Schmitz9-Oct-22 19:32 
QuestionHow does the compiler achieve the CRT remapping? Pin
John Schroedl22-Aug-22 10:50
professionalJohn Schroedl22-Aug-22 10:50 
Question[Solved] I hope there is a Managed C++/CLR person left to help me with Parallel::For Pin
madusmacus27-Jul-22 4:25
madusmacus27-Jul-22 4:25 
AnswerRe: I hope there is a Managed C++/CLR person left to help me with Parallel::For Pin
Richard Deeming27-Jul-22 22:13
mveRichard Deeming27-Jul-22 22:13 
General[Final Code Here] Re: I hope there is a Managed C++/CLR person left to help me with Parallel::For Pin
madusmacus27-Jul-22 22:35
madusmacus27-Jul-22 22:35 

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.