Click here to Skip to main content
15,898,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Converting from MFC Ext DLL to standard MFC DLL? Pin
Alex_Y1-Aug-05 4:56
Alex_Y1-Aug-05 4:56 
GeneralRe: Converting from MFC Ext DLL to standard MFC DLL? Pin
Anacreon1-Aug-05 5:03
Anacreon1-Aug-05 5:03 
AnswerRe: Converting from MFC Ext DLL to standard MFC DLL? Pin
Anacreon1-Aug-05 5:02
Anacreon1-Aug-05 5:02 
GeneralRe: Converting from MFC Ext DLL to standard MFC DLL? Pin
Alex_Y1-Aug-05 5:57
Alex_Y1-Aug-05 5:57 
AnswerRe: Converting from MFC Ext DLL to standard MFC DLL? Pin
Anacreon2-Aug-05 4:35
Anacreon2-Aug-05 4:35 
GeneralWorker Thread notification in the middle. Pin
Member 17526741-Aug-05 4:22
Member 17526741-Aug-05 4:22 
GeneralRe: Worker Thread notification in the middle. Pin
Eytukan1-Aug-05 4:35
Eytukan1-Aug-05 4:35 
GeneralRe: Worker Thread notification in the middle. Pin
Abebe1-Aug-05 4:56
Abebe1-Aug-05 4:56 
There are several methods to do this:
1) Use a global variable that stores the data you want to send to the worker thread;
2) Use a singleton;
3) Use files;

I'd go with a singleton, that seems the be the most 'clean'. Remember to synchronise your data, since it will most likely be accessed by multiple threads (avoid corrupt data!).

There are probably some other methods you can use.

Er zit een korstje op mijn aars.
GeneralRe: Worker Thread notification in the middle. Pin
Eytukan1-Aug-05 5:32
Eytukan1-Aug-05 5:32 
GeneralRe: Worker Thread notification in the middle. Pin
David Crow1-Aug-05 5:49
David Crow1-Aug-05 5:49 
GeneralUsing a #include in a struct Pin
Anonymous1-Aug-05 3:55
Anonymous1-Aug-05 3:55 
GeneralRe: Using a #include in a struct Pin
toxcct1-Aug-05 3:59
toxcct1-Aug-05 3:59 
GeneralRe: Using a #include in a struct Pin
Anonymous1-Aug-05 5:10
Anonymous1-Aug-05 5:10 
GeneralRe: Using a #include in a struct Pin
Maximilien1-Aug-05 4:53
Maximilien1-Aug-05 4:53 
GeneralRe: Using a #include in a struct Pin
toxcct1-Aug-05 5:05
toxcct1-Aug-05 5:05 
GeneralRe: Using a #include in a struct Pin
Anonymous1-Aug-05 5:07
Anonymous1-Aug-05 5:07 
GeneralRe: Using a #include in a struct Pin
toxcct1-Aug-05 5:16
toxcct1-Aug-05 5:16 
GeneralRe: Using a #include in a struct Pin
Bob Stanneveld1-Aug-05 7:37
Bob Stanneveld1-Aug-05 7:37 
GeneralRe: Using a #include in a struct Pin
Jonas Åhrman2-Aug-05 6:52
sussJonas Åhrman2-Aug-05 6:52 
GeneralRe: Using a #include in a struct Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1-Aug-05 5:25
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1-Aug-05 5:25 
GeneralRe: Using a #include in a struct Pin
Bob Stanneveld1-Aug-05 7:34
Bob Stanneveld1-Aug-05 7:34 
GeneralRe: Using a #include in a struct Pin
Anonymous2-Aug-05 5:15
Anonymous2-Aug-05 5:15 
GeneralRe: Using a #include in a struct Pin
Bob Stanneveld3-Aug-05 7:09
Bob Stanneveld3-Aug-05 7:09 
GeneralRe: Using a #include in a struct Pin
knapak1-Aug-05 11:09
knapak1-Aug-05 11:09 
GeneralRe: Using a #include in a struct Pin
knapak1-Aug-05 11:04
knapak1-Aug-05 11:04 

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.