Click here to Skip to main content
15,902,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MS Flex Grid & Visual C++ 6.0 [modified] Pin
dehseth7-May-08 0:00
dehseth7-May-08 0:00 
GeneralRe: MS Flex Grid & Visual C++ 6.0 Pin
ThatsAlok7-May-08 4:59
ThatsAlok7-May-08 4:59 
QuestionSSL_read() issue [modified] Pin
amit_pansuria6-May-08 19:22
amit_pansuria6-May-08 19:22 
QuestionHow to Implement gmtime( ) in Win Mobile Pin
Arun John6-May-08 18:26
Arun John6-May-08 18:26 
AnswerRe: How to Implement gmtime( ) in Win Mobile Pin
Rajesh R Subramanian6-May-08 18:30
professionalRajesh R Subramanian6-May-08 18:30 
GeneralRe: How to Implement gmtime( ) in Win Mobile Pin
ThatsAlok6-May-08 20:45
ThatsAlok6-May-08 20:45 
Questionhow can I pass text from my form to crystal report Pin
imannasr6-May-08 17:59
imannasr6-May-08 17:59 
QuestionTLS storage Pin
ForNow6-May-08 17:32
ForNow6-May-08 17:32 
Hi,

I am trying to understand "__declspec(thread)" and where it is declared

My situation is I have a DLL which is implicitly bound (hope that is the right term) many threads access the DLL

I do some processing in the DLL_THREAD_ATTACH message

Lets say I declare a pointer with __declspec(thread) attribute in the Global Section of the DLL

e.g. __declspec(thread) char *thread_ptr;

In the process that calls the DLL there exists a function which is multithreaded (many threads execute this function)


lets call it funca() How do I access thread_ptr in funca or better yet how do I declare it

e.g. extern __declspec(thread) char *thread_ptr not sure
AnswerRe: TLS storage Pin
Rajkumar R6-May-08 21:30
Rajkumar R6-May-08 21:30 
GeneralRe: TLS storage Pin
ForNow7-May-08 2:52
ForNow7-May-08 2:52 
Questiondrawing and moving Pin
shohel8996-May-08 16:46
shohel8996-May-08 16:46 
GeneralRe: drawing and moving Pin
dehseth6-May-08 19:53
dehseth6-May-08 19:53 
AnswerRe: drawing and moving Pin
Nelek7-May-08 11:05
protectorNelek7-May-08 11:05 
GeneralRe: drawing and moving Pin
shohel8997-May-08 18:52
shohel8997-May-08 18:52 
GeneralRe: drawing and moving Pin
Nelek8-May-08 12:39
protectorNelek8-May-08 12:39 
QuestionWhen resizing, some child control doesn't show correctly until I put the mouse curson on it Pin
followait6-May-08 16:42
followait6-May-08 16:42 
AnswerRe: When resizing, some child control doesn't show correctly until I put the mouse curson on it Pin
Naveen6-May-08 17:34
Naveen6-May-08 17:34 
GeneralRe: When resizing, some child control doesn't show correctly until I put the mouse curson on it Pin
followait6-May-08 23:02
followait6-May-08 23:02 
Questionhttp download question Pin
monsieur_jj6-May-08 16:28
monsieur_jj6-May-08 16:28 
AnswerRe: http download question Pin
Randor 6-May-08 16:46
professional Randor 6-May-08 16:46 
GeneralRe: http download question Pin
monsieur_jj6-May-08 16:57
monsieur_jj6-May-08 16:57 
GeneralRe: http download question Pin
Randor 6-May-08 17:16
professional Randor 6-May-08 17:16 
GeneralRe: http download question Pin
monsieur_jj6-May-08 21:20
monsieur_jj6-May-08 21:20 
GeneralRe: http download question Pin
Randor 7-May-08 4:01
professional Randor 7-May-08 4:01 
GeneralRe: http download question Pin
monsieur_jj7-May-08 15:23
monsieur_jj7-May-08 15:23 

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.