Click here to Skip to main content
12,401,984 members (49,663 online)

C / C++ / MFC

 
Answercreate many dialogboxes and the amin window is still responsive Pin
dmr1321-Dec-08 2:15
memberdmr1321-Dec-08 2:15 
GeneralRe: create many dialogboxes and the amin window is still responsive Pin
Stuart Dootson21-Dec-08 2:20
memberStuart Dootson21-Dec-08 2:20 
GeneralRe: create many dialogboxes and the amin window is still responsive Pin
dmr1321-Dec-08 22:16
memberdmr1321-Dec-08 22:16 
QuestionUsing MFC's socket within the Process' threads Pin
AmitCohen22220-Dec-08 23:40
memberAmitCohen22220-Dec-08 23:40 
AnswerRe: Using MFC's socket within the Process' threads Pin
CPallini21-Dec-08 0:05
mvpCPallini21-Dec-08 0:05 
AnswerRe: Using MFC's socket within the Process' threads Pin
Mark Salsbery21-Dec-08 5:19
mvpMark Salsbery21-Dec-08 5:19 
AnswerRe: Using MFC's socket within the Process' threads Pin
L. Madhavan21-Dec-08 18:50
memberL. Madhavan21-Dec-08 18:50 
GeneralRe: Using MFC's socket within the Process' threads Pin
Mike O'Neill22-Dec-08 13:25
memberMike O'Neill22-Dec-08 13:25 
That bug appears only when linking statically, and is probably not the cause of the problem.

For a solution on using a CSocket object in a thread different from the thread that created it, see "How to pass a socket connection between threads in an MFC application in Visual C++" at http://support.microsoft.com/kb/175668[^]. Basically, you need surround the thread hand-off with calls to CAsyncSocket::Detach() and CAsyncSocket::Attach().

Mike
GeneralRe: Using MFC's socket within the Process' threads Pin
L. Madhavan22-Dec-08 19:03
memberL. Madhavan22-Dec-08 19:03 
Questionhelp me to describe this code plese Pin
auralius20-Dec-08 22:02
memberauralius20-Dec-08 22:02 
AnswerRe: help me to describe this code plese Pin
Garth J Lancaster20-Dec-08 22:54
memberGarth J Lancaster20-Dec-08 22:54 
AnswerRe: help me to describe this code plese Pin
CPallini20-Dec-08 23:34
mvpCPallini20-Dec-08 23:34 
GeneralRe: help me to describe this code plese Pin
auralius21-Dec-08 2:28
memberauralius21-Dec-08 2:28 
QuestionListCtrl Pin
AticAtac20-Dec-08 14:00
memberAticAtac20-Dec-08 14:00 
QuestionRe: ListCtrl Pin
CPallini20-Dec-08 22:53
mvpCPallini20-Dec-08 22:53 
AnswerRe: ListCtrl Pin
AticAtac24-Dec-08 10:06
memberAticAtac24-Dec-08 10:06 
AnswerRe: ListCtrl Pin
Hamid.21-Dec-08 4:44
memberHamid.21-Dec-08 4:44 
GeneralRe: ListCtrl Pin
AticAtac24-Dec-08 10:08
memberAticAtac24-Dec-08 10:08 
QuestionCBitmap CreateBitmapIndirect() fails Pin
Vaclav_Sal20-Dec-08 13:09
memberVaclav_Sal20-Dec-08 13:09 
AnswerRe: CBitmap CreateBitmapIndirect() fails Pin
Stuart Dootson20-Dec-08 13:19
memberStuart Dootson20-Dec-08 13:19 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Vaclav_Sal20-Dec-08 15:21
memberVaclav_Sal20-Dec-08 15:21 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Jijo raj20-Dec-08 15:33
memberJijo raj20-Dec-08 15:33 
AnswerRe: CBitmap CreateBitmapIndirect() fails Pin
Mark Salsbery21-Dec-08 5:24
mvpMark Salsbery21-Dec-08 5:24 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Vaclav_Sal21-Dec-08 6:06
memberVaclav_Sal21-Dec-08 6:06 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Mark Salsbery22-Dec-08 6:46
mvpMark Salsbery22-Dec-08 6:46 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 27 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid