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

C / C++ / MFC

 
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 
GeneralRe: CRichEditCtrl Font Formating Pin
yurii_leorda31-Jul-11 0:21
yurii_leorda31-Jul-11 0:21 
GeneralRe: CRichEditCtrl Font Formating Pin
Code-o-mat31-Jul-11 0:37
Code-o-mat31-Jul-11 0:37 
QuestionRuntime Error in Visual Studio [modified] Pin
AndrewG123129-Jul-11 12:09
AndrewG123129-Jul-11 12:09 
AnswerRe: Runtime Error in Visual Studio Pin
Richard Andrew x6429-Jul-11 13:07
professionalRichard Andrew x6429-Jul-11 13:07 
GeneralRe: Runtime Error in Visual Studio Pin
AndrewG123129-Jul-11 13:20
AndrewG123129-Jul-11 13:20 
GeneralRe: Runtime Error in Visual Studio Pin
Richard Andrew x6429-Jul-11 13:36
professionalRichard Andrew x6429-Jul-11 13:36 
GeneralRe: Runtime Error in Visual Studio Pin
AndrewG123129-Jul-11 14:24
AndrewG123129-Jul-11 14:24 
QuestionTaskbar button text [modified] Pin
kartikdasani29-Jul-11 2:24
kartikdasani29-Jul-11 2:24 
AnswerRe: Taskbar button text Pin
Richard MacCutchan29-Jul-11 2:34
mveRichard MacCutchan29-Jul-11 2:34 
AnswerRe: Taskbar button text Pin
«_Superman_»29-Jul-11 3:19
professional«_Superman_»29-Jul-11 3:19 
AnswerRe: Taskbar button text Pin
Richard MacCutchan29-Jul-11 6:54
mveRichard MacCutchan29-Jul-11 6:54 
Questionfunction header temporary variable Pin
LionAM29-Jul-11 0:37
LionAM29-Jul-11 0:37 

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.