Click here to Skip to main content
15,887,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Accesing operator from parent class Pin
Hamed Musavi27-Oct-07 20:34
Hamed Musavi27-Oct-07 20:34 
GeneralRe: Accesing operator from parent class Pin
Fernando A. Gomez F.27-Oct-07 22:08
Fernando A. Gomez F.27-Oct-07 22:08 
GeneralRe: Accesing operator from parent class Pin
Hamed Musavi28-Oct-07 3:16
Hamed Musavi28-Oct-07 3:16 
Questionhow to get Domain Role Pin
HOW WHAT26-Oct-07 14:33
HOW WHAT26-Oct-07 14:33 
AnswerRe: how to get Domain Role Pin
David Crow29-Oct-07 4:20
David Crow29-Oct-07 4:20 
QuestionCAsyncSocket and Message Pump Pin
Don Rolando26-Oct-07 10:30
Don Rolando26-Oct-07 10:30 
AnswerRe: CAsyncSocket and Message Pump Pin
Mark Salsbery26-Oct-07 12:10
Mark Salsbery26-Oct-07 12:10 
GeneralRe: CAsyncSocket and Message Pump Pin
Don Rolando26-Oct-07 20:20
Don Rolando26-Oct-07 20:20 
Thanks for your answer; so far I have done everything correct. My UI thread is is constructed without dedicated proc pointer (to be precise, without arguments at all) and started by CreateThread().
The socket is created afterwards within the thread.

Nevertheless, my CAsyncSocket won't receive until I call at least once the AfxMessageBox. Besides, why is that at all? If the socket has a wrong message handler (let's say, the handle to some object that has no message pump), why does it suddenly get those notifications? Did the handle get exchanged? Or is the "wrong" object getting those notifications after the message box? I just do not realize why a single message box call can make everything work, and how.

- Roland
GeneralRe: CAsyncSocket and Message Pump [modified] Pin
Don Rolando26-Oct-07 21:51
Don Rolando26-Oct-07 21:51 
GeneralRe: CAsyncSocket and Message Pump Pin
Mark Salsbery27-Oct-07 6:57
Mark Salsbery27-Oct-07 6:57 
GeneralRe: CAsyncSocket and Message Pump Pin
Moak8-Nov-07 12:03
Moak8-Nov-07 12:03 
GeneralRe: CAsyncSocket and Message Pump Pin
Blake Miller20-Nov-07 6:53
Blake Miller20-Nov-07 6:53 
QuestionCHtmlView - how to get session Pin
m1m226-Oct-07 8:49
m1m226-Oct-07 8:49 
QuestionProgram terminates Pin
pourang26-Oct-07 8:28
pourang26-Oct-07 8:28 
AnswerRe: Program terminates [modified] Pin
Chris Losinger26-Oct-07 8:31
professionalChris Losinger26-Oct-07 8:31 
GeneralRe: Program terminates Pin
pourang26-Oct-07 8:34
pourang26-Oct-07 8:34 
GeneralRe: Program terminates Pin
pourang26-Oct-07 8:36
pourang26-Oct-07 8:36 
QuestionRe: Program terminates Pin
David Crow26-Oct-07 8:37
David Crow26-Oct-07 8:37 
AnswerRe: Program terminates Pin
Chris Losinger26-Oct-07 9:10
professionalChris Losinger26-Oct-07 9:10 
QuestionCWinApp::OnIdle problem?? Pin
SandipG 26-Oct-07 8:01
SandipG 26-Oct-07 8:01 
QuestionDialog based application for different screen resolutions Pin
victoria195026-Oct-07 7:47
victoria195026-Oct-07 7:47 
AnswerRe: Dialog based application for different screen resolutions [modified] Pin
Mattias G26-Oct-07 13:41
Mattias G26-Oct-07 13:41 
AnswerRe: Dialog based application for different screen resolutions Pin
MANISH RASTOGI26-Oct-07 18:52
MANISH RASTOGI26-Oct-07 18:52 
AnswerRe: Dialog based application for different screen resolutions Pin
Nelek28-Oct-07 23:24
protectorNelek28-Oct-07 23:24 
QuestionLink error _imp_ Pin
ewpendleton26-Oct-07 6:44
ewpendleton26-Oct-07 6:44 

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.