Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to find the application crash reason in multithreaded MFC application Pin
Mark Salsbery13-Jul-07 16:18
Mark Salsbery13-Jul-07 16:18 
AnswerRe: How to find the application crash reason in multithreaded MFC application Pin
Hans Dietrich12-Jul-07 12:47
mentorHans Dietrich12-Jul-07 12:47 
AnswerRe: How to find the application crash reason in multithreaded MFC application Pin
ComplexLifeForm12-Jul-07 19:49
ComplexLifeForm12-Jul-07 19:49 
AnswerRe: How to find the application crash reason in multithreaded MFC application Pin
Mark Salsbery13-Jul-07 16:26
Mark Salsbery13-Jul-07 16:26 
GeneralRe: How to find the application crash reason in multithreaded MFC application Pin
DevMentor.org13-Jul-07 20:56
DevMentor.org13-Jul-07 20:56 
QuestionWinsock Interrupt Pin
simoncoul12-Jul-07 7:54
simoncoul12-Jul-07 7:54 
AnswerRe: Winsock Interrupt Pin
markkuk12-Jul-07 10:07
markkuk12-Jul-07 10:07 
AnswerRe: Winsock Interrupt Pin
Nuxser12-Jul-07 17:56
Nuxser12-Jul-07 17:56 
Default behavior of send(...) & recv(...) is blocking on the call till requested operation is finished.

Not aware of how this wait is internally implemented.

As an application programmer, I assume that you want to model your application so that it doesn't block on such calls and utilize the CPU cpu cycles for other tasks. If that is correct, you need to explore which I/O strategy we want to use:

http://tangentsoft.net/wskfaq/articles/io-strategies.html

Translating the "interrupt" to be the case where instead of blocking you want the program to be notified when data is there to read,
WSAAsyncSelect() can be an easy path to go as your app/window is notified through message loop.

-- Soyuz

GeneralRe: Winsock Interrupt Pin
simoncoul16-Jul-07 3:23
simoncoul16-Jul-07 3:23 
QuestionSDI project problem Pin
Max++12-Jul-07 4:12
Max++12-Jul-07 4:12 
AnswerRe: SDI project problem Pin
Tony Hill12-Jul-07 4:34
professionalTony Hill12-Jul-07 4:34 
GeneralRe: SDI project problem Pin
Max++12-Jul-07 5:34
Max++12-Jul-07 5:34 
GeneralRe: SDI project problem Pin
Tony Hill12-Jul-07 5:49
professionalTony Hill12-Jul-07 5:49 
GeneralRe: SDI project problem Pin
Max++12-Jul-07 6:26
Max++12-Jul-07 6:26 
GeneralRe: SDI project problem Pin
Tony Hill12-Jul-07 6:36
professionalTony Hill12-Jul-07 6:36 
GeneralRe: SDI project problem Pin
Max++12-Jul-07 6:47
Max++12-Jul-07 6:47 
AnswerRe: SDI project problem Pin
David Crow12-Jul-07 4:34
David Crow12-Jul-07 4:34 
GeneralRe: SDI project problem Pin
Max++12-Jul-07 5:20
Max++12-Jul-07 5:20 
QuestionRe: SDI project problem Pin
David Crow12-Jul-07 5:25
David Crow12-Jul-07 5:25 
AnswerRe: SDI project problem Pin
Max++12-Jul-07 5:40
Max++12-Jul-07 5:40 
QuestionDynamically adding sub menus Pin
Abhijeet Pathak12-Jul-07 3:06
Abhijeet Pathak12-Jul-07 3:06 
AnswerRe: Dynamically adding sub menus Pin
jhwurmbach12-Jul-07 4:50
jhwurmbach12-Jul-07 4:50 
QuestionProblem with Model Dialog box in a DLL Pin
uday kiran janaswamy12-Jul-07 3:05
uday kiran janaswamy12-Jul-07 3:05 
AnswerRe: Problem with Model Dialog box in a DLL Pin
Y Mahi12-Jul-07 23:17
Y Mahi12-Jul-07 23:17 
AnswerRe: Problem with Model Dialog box in a DLL Pin
Hamid_RT13-Jul-07 2:01
Hamid_RT13-Jul-07 2:01 

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.