Click here to Skip to main content
15,920,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AfxBeginThread() with a function in the main class Pin
Mark Salsbery3-Aug-07 8:57
Mark Salsbery3-Aug-07 8:57 
GeneralRe: AfxBeginThread() with a function in the main class Pin
Mark Salsbery3-Aug-07 8:13
Mark Salsbery3-Aug-07 8:13 
QuestionPostThreadMessages lost in DLL Pin
PaulCammy3-Aug-07 5:54
PaulCammy3-Aug-07 5:54 
AnswerRe: PostThreadMessages lost in DLL Pin
Mark Salsbery3-Aug-07 6:07
Mark Salsbery3-Aug-07 6:07 
QuestionRe: PostThreadMessages lost in DLL Pin
PaulCammy4-Aug-07 1:52
PaulCammy4-Aug-07 1:52 
AnswerRe: PostThreadMessages lost in DLL Pin
Mark Salsbery4-Aug-07 6:42
Mark Salsbery4-Aug-07 6:42 
GeneralRe: PostThreadMessages lost in DLL Pin
PaulCammy5-Aug-07 22:23
PaulCammy5-Aug-07 22:23 
GeneralRe: PostThreadMessages lost in DLL Pin
Blake Miller6-Aug-07 5:06
Blake Miller6-Aug-07 5:06 
What I have done within a DLL 'init' function that the client must call - AFTER the client has already loaded all its dll and such, is to create a new thread. All the work within the DLL I wrote was done from within this thread internal to the DLL.
At the top of this thread place a PeekMessage call, so the thread will get a message queue. Then you can process 'posted thread messages' fromt this thread and it has its own independent message pump.

Just because an app stared as a dialog app, or some other type of app, does not mean it can't have a DLL containing its own thread and its own message queue.

GeneralRe: PostThreadMessages lost in DLL Pin
Mark Salsbery6-Aug-07 5:06
Mark Salsbery6-Aug-07 5:06 
Questiondifferentiating between literal strings and char pointers [modified] Pin
dburns3-Aug-07 4:48
dburns3-Aug-07 4:48 
AnswerRe: differentiating between literal strings and char pointers Pin
CPallini3-Aug-07 4:59
mveCPallini3-Aug-07 4:59 
GeneralRe: differentiating between literal strings and char pointers Pin
dburns3-Aug-07 5:03
dburns3-Aug-07 5:03 
GeneralRe: differentiating between literal strings and char pointers Pin
CPallini3-Aug-07 5:07
mveCPallini3-Aug-07 5:07 
GeneralRe: differentiating between literal strings and char pointers Pin
dburns3-Aug-07 5:13
dburns3-Aug-07 5:13 
GeneralRe: differentiating between literal strings and char pointers Pin
CPallini3-Aug-07 5:19
mveCPallini3-Aug-07 5:19 
GeneralRe: differentiating between literal strings and char pointers Pin
dburns3-Aug-07 5:48
dburns3-Aug-07 5:48 
GeneralRe: differentiating between literal strings and char pointers Pin
David Crow3-Aug-07 6:11
David Crow3-Aug-07 6:11 
GeneralRe: differentiating between literal strings and char pointers Pin
dburns3-Aug-07 6:22
dburns3-Aug-07 6:22 
GeneralRe: differentiating between literal strings and char pointers Pin
led mike3-Aug-07 7:16
led mike3-Aug-07 7:16 
GeneralRe: differentiating between literal strings and char pointers Pin
David Crow3-Aug-07 7:18
David Crow3-Aug-07 7:18 
GeneralRe: differentiating between literal strings and char pointers Pin
led mike3-Aug-07 7:15
led mike3-Aug-07 7:15 
QuestionRe: differentiating between literal strings and char pointers Pin
David Crow3-Aug-07 5:10
David Crow3-Aug-07 5:10 
AnswerRe: differentiating between literal strings and char pointers Pin
dburns3-Aug-07 5:43
dburns3-Aug-07 5:43 
AnswerRe: differentiating between literal strings and char pointers Pin
cp98763-Aug-07 18:30
cp98763-Aug-07 18:30 
GeneralRe: differentiating between literal strings and char pointers Pin
dburns4-Aug-07 4:05
dburns4-Aug-07 4:05 

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.