Click here to Skip to main content
15,905,233 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Startup Pin
Davitor23-Dec-08 2:00
Davitor23-Dec-08 2:00 
Questionfail to get information from remote machine using WMI, vc 6 Pin
TechCrazy21-Dec-08 5:18
TechCrazy21-Dec-08 5:18 
AnswerRe: fail to get information from remote machine using WMI, vc 6 Pin
Stuart Dootson21-Dec-08 14:26
professionalStuart Dootson21-Dec-08 14:26 
GeneralRe: fail to get information from remote machine using WMI, vc 6 Pin
TechCrazy21-Dec-08 14:48
TechCrazy21-Dec-08 14:48 
GeneralRe: fail to get information from remote machine using WMI, vc 6 Pin
Stuart Dootson21-Dec-08 17:00
professionalStuart Dootson21-Dec-08 17:00 
GeneralRe: fail to get information from remote machine using WMI, vc 6 Pin
TechCrazy21-Dec-08 17:24
TechCrazy21-Dec-08 17:24 
GeneralRe: fail to get information from remote machine using WMI, vc 6 Pin
Randor 21-Dec-08 18:26
professional Randor 21-Dec-08 18:26 
GeneralRe: fail to get information from remote machine using WMI, vc 6 Pin
TechCrazy21-Dec-08 19:40
TechCrazy21-Dec-08 19:40 
GeneralRe: fail to get information from remote machine using WMI, vc 6 Pin
Stuart Dootson22-Dec-08 0:14
professionalStuart Dootson22-Dec-08 0:14 
AnswerRe: fail to get information from remote machine using WMI, vc 6 Pin
Baltoro22-Dec-08 7:27
Baltoro22-Dec-08 7:27 
QuestionLibraries linkage question Pin
eli1502197921-Dec-08 2:24
eli1502197921-Dec-08 2:24 
AnswerRe: Libraries linkage question Pin
Gary R. Wheeler21-Dec-08 2:36
Gary R. Wheeler21-Dec-08 2:36 
QuestionDevelopping an advenced multi-client chat Part 1 Pin
Mustapha Rédouane21-Dec-08 1:58
Mustapha Rédouane21-Dec-08 1:58 
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 

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.