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

C / C++ / MFC

 
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 
Hi all !

I'm using the MFC sockets mechanism for TCP\IP communication (CSocket, Srialization ability etc.) in a Process that spawns some threads.
It works fine until I deliver the socket pointer to one of the threads created by this process so that it can use it to send messages through this socket too - the application then fails, and if I understand correctly it is since the only thread allowed to use this socket is the one created it (in my case the main process).
I'm looking for an elegant solution to this limitation (I can go around the problem in several ways but it might affect the complexity and run-time of the program).

Any suggestions ???

D'Oh! | :doh:

Thanks in advanced,

Amit
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 
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 

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.