Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linker error Pin
celllllllll8-Nov-06 13:12
celllllllll8-Nov-06 13:12 
GeneralRe: Linker error Pin
User 5838528-Nov-06 14:30
User 5838528-Nov-06 14:30 
GeneralRe: Linker error Pin
Christian Graus8-Nov-06 15:31
protectorChristian Graus8-Nov-06 15:31 
GeneralRe: Linker error Pin
Christian Graus8-Nov-06 15:30
protectorChristian Graus8-Nov-06 15:30 
QuestionRe: Linker error Pin
David Crow9-Nov-06 3:52
David Crow9-Nov-06 3:52 
AnswerRe: Linker error Pin
celllllllll9-Nov-06 7:25
celllllllll9-Nov-06 7:25 
QuestionHow to call a function inside a thread Pin
Llasus8-Nov-06 12:06
Llasus8-Nov-06 12:06 
AnswerRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 12:32
Stephen Hewitt8-Nov-06 12:32 
In general you just call it. Be warned however; multithreading introduces many new and often unexpected complexities to an application. If you don't understand these complexities you're better off avoiding it. For example something as simple as incrementing a variable might not work as expected if more then one thread tries to "touch" it at the same time. If you've never heard of EnterCriticalSection, LeaveCriticalSection, InterlockedIncrement and many others, don't even consider using multiple threads.


Steve

GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 12:41
Llasus8-Nov-06 12:41 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 12:44
Stephen Hewitt8-Nov-06 12:44 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 13:00
Llasus8-Nov-06 13:00 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 13:05
Stephen Hewitt8-Nov-06 13:05 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 13:13
Llasus8-Nov-06 13:13 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 13:15
Stephen Hewitt8-Nov-06 13:15 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 13:27
Llasus8-Nov-06 13:27 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 14:01
Stephen Hewitt8-Nov-06 14:01 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 14:09
Llasus8-Nov-06 14:09 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 14:12
Stephen Hewitt8-Nov-06 14:12 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 14:25
Llasus8-Nov-06 14:25 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 14:28
Stephen Hewitt8-Nov-06 14:28 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 14:32
Llasus8-Nov-06 14:32 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 14:48
Stephen Hewitt8-Nov-06 14:48 
AnswerRe: How to call a function inside a thread Pin
Mark Salsbery8-Nov-06 13:26
Mark Salsbery8-Nov-06 13:26 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 13:37
Llasus8-Nov-06 13:37 
GeneralRe: How to call a function inside a thread Pin
Jörgen Sigvardsson8-Nov-06 13:38
Jörgen Sigvardsson8-Nov-06 13:38 

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.