Click here to Skip to main content
15,886,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Answercreate many dialogboxes and the amin window is still responsive Pin
Mustapha Rédouane21-Dec-08 2:15
Mustapha Rédouane21-Dec-08 2:15 
GeneralRe: create many dialogboxes and the amin window is still responsive Pin
Stuart Dootson21-Dec-08 2:20
professionalStuart Dootson21-Dec-08 2:20 
GeneralRe: create many dialogboxes and the amin window is still responsive Pin
Mustapha Rédouane21-Dec-08 22:16
Mustapha Rédouane21-Dec-08 22:16 
QuestionUsing MFC's socket within the Process' threads Pin
AmitCohen22220-Dec-08 23:40
AmitCohen22220-Dec-08 23:40 
AnswerRe: Using MFC's socket within the Process' threads Pin
CPallini21-Dec-08 0:05
mveCPallini21-Dec-08 0:05 
AnswerRe: Using MFC's socket within the Process' threads Pin
Mark Salsbery21-Dec-08 5:19
Mark Salsbery21-Dec-08 5:19 
AnswerRe: Using MFC's socket within the Process' threads Pin
L. Madhavan21-Dec-08 18:50
L. Madhavan21-Dec-08 18:50 
GeneralRe: Using MFC's socket within the Process' threads Pin
Mike O'Neill22-Dec-08 13:25
Mike 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
L. Madhavan22-Dec-08 19:03 
Questionhelp me to describe this code plese Pin
auralius manurung20-Dec-08 22:02
auralius manurung20-Dec-08 22:02 
AnswerRe: help me to describe this code plese Pin
Garth J Lancaster20-Dec-08 22:54
professionalGarth J Lancaster20-Dec-08 22:54 
AnswerRe: help me to describe this code plese Pin
CPallini20-Dec-08 23:34
mveCPallini20-Dec-08 23:34 
GeneralRe: help me to describe this code plese Pin
auralius manurung21-Dec-08 2:28
auralius manurung21-Dec-08 2:28 
QuestionListCtrl Pin
AticAtac20-Dec-08 14:00
AticAtac20-Dec-08 14:00 
QuestionRe: ListCtrl Pin
CPallini20-Dec-08 22:53
mveCPallini20-Dec-08 22:53 
AnswerRe: ListCtrl Pin
AticAtac24-Dec-08 10:06
AticAtac24-Dec-08 10:06 
AnswerRe: ListCtrl Pin
Hamid_RT21-Dec-08 4:44
Hamid_RT21-Dec-08 4:44 
GeneralRe: ListCtrl Pin
AticAtac24-Dec-08 10:08
AticAtac24-Dec-08 10:08 
QuestionCBitmap CreateBitmapIndirect() fails Pin
Vaclav_20-Dec-08 13:09
Vaclav_20-Dec-08 13:09 
AnswerRe: CBitmap CreateBitmapIndirect() fails Pin
Stuart Dootson20-Dec-08 13:19
professionalStuart Dootson20-Dec-08 13:19 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Vaclav_20-Dec-08 15:21
Vaclav_20-Dec-08 15:21 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Jijo.Raj20-Dec-08 15:33
Jijo.Raj20-Dec-08 15:33 
AnswerRe: CBitmap CreateBitmapIndirect() fails Pin
Mark Salsbery21-Dec-08 5:24
Mark Salsbery21-Dec-08 5:24 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Vaclav_21-Dec-08 6:06
Vaclav_21-Dec-08 6:06 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Mark Salsbery22-Dec-08 6:46
Mark 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.