Click here to Skip to main content
15,894,271 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateNamedPipe() Pin
Member 38520241-Aug-11 13:17
Member 38520241-Aug-11 13:17 
GeneralRe: CreateNamedPipe() Pin
Member 38520241-Aug-11 23:03
Member 38520241-Aug-11 23:03 
AnswerRe: CreateNamedPipe() Pin
Chuck O'Toole2-Aug-11 15:38
Chuck O'Toole2-Aug-11 15:38 
GeneralRe: CreateNamedPipe() Pin
Member 38520242-Aug-11 22:52
Member 38520242-Aug-11 22:52 
QuestionHow a to expose data of an application (.EXE) to a DLL on runtime? Pin
Arris741-Aug-11 3:17
Arris741-Aug-11 3:17 
AnswerRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
«_Superman_»1-Aug-11 4:12
professional«_Superman_»1-Aug-11 4:12 
GeneralRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
Arris741-Aug-11 6:20
Arris741-Aug-11 6:20 
GeneralRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
«_Superman_»1-Aug-11 6:32
professional«_Superman_»1-Aug-11 6:32 
GeneralRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
Arris742-Aug-11 1:43
Arris742-Aug-11 1:43 
GeneralRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
Albert Holguin1-Aug-11 18:00
professionalAlbert Holguin1-Aug-11 18:00 
GeneralRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
Arris742-Aug-11 1:38
Arris742-Aug-11 1:38 
GeneralRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
Albert Holguin2-Aug-11 4:02
professionalAlbert Holguin2-Aug-11 4:02 
GeneralRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
Arris742-Aug-11 5:02
Arris742-Aug-11 5:02 
GeneralRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
Arris742-Aug-11 5:48
Arris742-Aug-11 5:48 
GeneralRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
Albert Holguin2-Aug-11 6:05
professionalAlbert Holguin2-Aug-11 6:05 
AnswerRe: How a to expose data of an application (.EXE) to a DLL on runtime? Pin
jschell1-Aug-11 8:13
jschell1-Aug-11 8:13 
Questionhow to avoid dead-lock if you write multi-thread programming Pin
yu-jian1-Aug-11 2:50
yu-jian1-Aug-11 2:50 
AnswerRe: how to avoid dead-lock if you write multi-thread programming Pin
Albert Holguin1-Aug-11 3:20
professionalAlbert Holguin1-Aug-11 3:20 
QuestionSOCKET : How to gracfully stop application when recv() function is blocking Pin
pandit841-Aug-11 1:05
pandit841-Aug-11 1:05 
AnswerRe: SOCKET : How to gracfully stop application when recv() function is blocking PinPopular
Peter_in_27801-Aug-11 1:25
professionalPeter_in_27801-Aug-11 1:25 
You have two obvious choices (and maybe a few more esoteric ones).
1. Google "non-blocking socket" and see how you can get to read what data is available, when you want to get it.
2. Fire up another thread which can block on the recv() call, but doesn't block your whole app. Another thread can then take control and shut down or whatever you need to do.

Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994.

JokeRe: SOCKET : How to gracfully stop application when recv() function is blocking Pin
Code-o-mat1-Aug-11 5:57
Code-o-mat1-Aug-11 5:57 
AnswerRe: SOCKET : How to gracfully stop application when recv() function is blocking Pin
jschell1-Aug-11 8:17
jschell1-Aug-11 8:17 
GeneralRe: SOCKET : How to gracfully stop application when recv() function is blocking Pin
pandit841-Aug-11 19:34
pandit841-Aug-11 19:34 
QuestionCRichEditCtrl Font Formating Pin
yurii_leorda30-Jul-11 15:11
yurii_leorda30-Jul-11 15:11 
AnswerRe: CRichEditCtrl Font Formating Pin
Code-o-mat30-Jul-11 22:21
Code-o-mat30-Jul-11 22: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.