Click here to Skip to main content
15,890,690 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Don Rolando wrote:
Ok, seems like my message dispatcher is blocked until the posted message is processed. (Sounds at least like a good reason to me) And it looks like the AfxMessageBox could somehow resume the message dispatcher again... so the only questions should be how to give my sockets an own or different message pump, or how to start tasks within my thread that do not pause the message pump.


I don't know what's going on here.  What's causing this: "my message dispatcher is blocked"??


Some of the following may not apply, depending on what protocol you're using...

Which events are you specifying when you call CAsyncSocket::Create()? 

If you're using CAsyncSocket::Socket() instead of CAsyncSocket::Create(),
are you calling CAsyncSocket::Bind()?

Which CAsyncSocket overrides (Onxxxx()) are being called? 
For a connection-type protocol, is OnConnect() getting called?

Without your code, it's near impossible to debug Smile | :)


Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

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 
QuestionRe: Link error _imp_ Pin
Hamid_RT26-Oct-07 7:02
Hamid_RT26-Oct-07 7:02 
AnswerRe: Link error _imp_ Pin
ewpendleton26-Oct-07 9:26
ewpendleton26-Oct-07 9:26 

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.