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

C / C++ / MFC

 
GeneralVC++ AddIn - How does one open a window Pin
Franz Klein26-Sep-01 23:56
Franz Klein26-Sep-01 23:56 
GeneralPrevent CTreeCtrl from being auto collapsed Pin
Alex Dong26-Sep-01 23:45
Alex Dong26-Sep-01 23:45 
GeneralRe: Prevent CTreeCtrl from being auto collapsed Pin
27-Sep-01 0:35
suss27-Sep-01 0:35 
GeneralRe: Prevent CTreeCtrl from being auto collapsed Pin
27-Sep-01 15:12
suss27-Sep-01 15:12 
Generalstructuring in MFC Pin
JoNy26-Sep-01 23:03
JoNy26-Sep-01 23:03 
GeneralRe: structuring in MFC Pin
Tomasz Sowinski27-Sep-01 0:26
Tomasz Sowinski27-Sep-01 0:26 
GeneralRe: structuring in MFC Pin
JoNy27-Sep-01 1:42
JoNy27-Sep-01 1:42 
GeneralRe: structuring in MFC Pin
Tomasz Sowinski27-Sep-01 2:00
Tomasz Sowinski27-Sep-01 2:00 
How do I create separate worker threads?

AfxBeginThread in MFC, _beginthread, _beginthreadex in C/C++ Runtime library. There's also CreateThread if you're playing directly with Win32 API, but it's not recommended if your thread use standard C/C++ functions (they need to be initialized on per-thread basis; CreateThread is a Windows function that doesn't know anything about C/C++ library).

search for these function names, I'm sure MSDN has lot of multithreading samples. Here at CodeProject look at 'Threads, Processes and IPC' section.

Tomasz Sowinski -- http://www.shooltz.com
GeneralInterprocess communication Pin
^GeeK^26-Sep-01 21:58
^GeeK^26-Sep-01 21:58 
GeneralRe: Interprocess communication Pin
Braulio Dez26-Sep-01 22:48
Braulio Dez26-Sep-01 22:48 
GeneralPassing Messages Between Processes Pin
26-Sep-01 20:53
suss26-Sep-01 20:53 
GeneralRe: Passing Messages Between Processes Pin
Michael Dunn26-Sep-01 21:16
sitebuilderMichael Dunn26-Sep-01 21:16 
GeneralRe: Passing Messages Between Processes Pin
26-Sep-01 21:35
suss26-Sep-01 21:35 
GeneralRe: Passing Messages Between Processes Pin
Christian Graus27-Sep-01 2:34
protectorChristian Graus27-Sep-01 2:34 
GeneralDirectX book Pin
26-Sep-01 20:41
suss26-Sep-01 20:41 
Generalextract a substring from CString Pin
Tryhard26-Sep-01 19:02
Tryhard26-Sep-01 19:02 
GeneralRe: extract a substring from CString Pin
Christian Graus26-Sep-01 19:12
protectorChristian Graus26-Sep-01 19:12 
QuestionHOW I CAN USE A LISTVIEW CONTROL IN MY HTML PAGE? Pin
26-Sep-01 16:55
suss26-Sep-01 16:55 
AnswerRe: HOW I CAN USE A LISTVIEW CONTROL IN MY HTML PAGE? Pin
Christian Graus26-Sep-01 17:22
protectorChristian Graus26-Sep-01 17:22 
GeneralRe: HOW I CAN USE A LISTVIEW CONTROL IN MY HTML PAGE? Pin
26-Sep-01 19:32
suss26-Sep-01 19:32 
GeneralRe: HOW I CAN USE A LISTVIEW CONTROL IN MY HTML PAGE? Pin
Christian Graus26-Sep-01 19:43
protectorChristian Graus26-Sep-01 19:43 
GeneralMultiple Processes: Threads, Messages, Etc Pin
Eric Sanchez26-Sep-01 16:28
Eric Sanchez26-Sep-01 16:28 
GeneralRe: Multiple Processes: Threads, Messages, Etc Pin
Michael Dunn26-Sep-01 17:02
sitebuilderMichael Dunn26-Sep-01 17:02 
GeneralRe: Multiple Processes: Threads, Messages, Etc Pin
Eric Sanchez27-Sep-01 2:47
Eric Sanchez27-Sep-01 2:47 
GeneralBitmap Pin
26-Sep-01 15:16
suss26-Sep-01 15:16 

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.