Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: ExitThread() Pin
Stephen Hewitt5-Jun-07 14:21
Stephen Hewitt5-Jun-07 14:21 
QuestionAdding new section to PE Pin
edvintas5-Jun-07 11:19
edvintas5-Jun-07 11:19 
AnswerRe: Adding new section to PE Pin
Stephen Hewitt5-Jun-07 14:27
Stephen Hewitt5-Jun-07 14:27 
Questionusing fstream to read resource data c++ Pin
bimgot5-Jun-07 9:48
bimgot5-Jun-07 9:48 
AnswerRe: using fstream to read resource data c++ Pin
David Crow5-Jun-07 10:12
David Crow5-Jun-07 10:12 
GeneralRe: using fstream to read resource data c++ Pin
bimgot5-Jun-07 14:00
bimgot5-Jun-07 14:00 
QuestionAsynchronous Cross-thread Signaling Pin
Cyrilix5-Jun-07 7:23
Cyrilix5-Jun-07 7:23 
AnswerRe: Asynchronous Cross-thread Signaling Pin
KellyR5-Jun-07 8:38
KellyR5-Jun-07 8:38 
Sure, if you posted the data back to the main thread through for instance a user-defined windows message.

I do this sort of thing a lot in for instance socket programming, like pressing the "Connect" button of a chat program. Without having a separate thread, the whole program could freeze up for several seconds as the socket attempted to connect, since it's a blocking call.

KR

AnswerRe: Asynchronous Cross-thread Signaling Pin
Matthew Faithfull5-Jun-07 8:44
Matthew Faithfull5-Jun-07 8:44 
GeneralRe: Asynchronous Cross-thread Signaling Pin
Cyrilix5-Jun-07 8:49
Cyrilix5-Jun-07 8:49 
GeneralRe: Asynchronous Cross-thread Signaling Pin
Matthew Faithfull5-Jun-07 9:10
Matthew Faithfull5-Jun-07 9:10 
GeneralRe: Asynchronous Cross-thread Signaling Pin
Cyrilix5-Jun-07 10:04
Cyrilix5-Jun-07 10:04 
GeneralRe: Asynchronous Cross-thread Signaling Pin
Matthew Faithfull5-Jun-07 10:57
Matthew Faithfull5-Jun-07 10:57 
QuestionCAsyncSocket::Connect Pin
kcynic5-Jun-07 7:06
kcynic5-Jun-07 7:06 
AnswerRe: CAsyncSocket::Connect Pin
Mark Salsbery5-Jun-07 7:29
Mark Salsbery5-Jun-07 7:29 
Questionsqltypes.h giving error Pin
Programm3r5-Jun-07 6:21
Programm3r5-Jun-07 6:21 
AnswerRe: sqltypes.h giving error Pin
Reagan Conservative5-Jun-07 6:33
Reagan Conservative5-Jun-07 6:33 
QuestionRe: sqltypes.h giving error Pin
Programm3r5-Jun-07 7:30
Programm3r5-Jun-07 7:30 
AnswerRe: sqltypes.h giving error Pin
Mark Salsbery5-Jun-07 8:23
Mark Salsbery5-Jun-07 8:23 
GeneralRe: sqltypes.h giving error Pin
Programm3r5-Jun-07 8:39
Programm3r5-Jun-07 8:39 
GeneralRe: sqltypes.h giving error Pin
Mark Salsbery5-Jun-07 8:49
Mark Salsbery5-Jun-07 8:49 
GeneralRe: sqltypes.h giving error Pin
Programm3r5-Jun-07 8:51
Programm3r5-Jun-07 8:51 
GeneralRe: sqltypes.h giving error Pin
Mark Salsbery5-Jun-07 9:00
Mark Salsbery5-Jun-07 9:00 
GeneralRe: sqltypes.h giving error Pin
Programm3r5-Jun-07 19:21
Programm3r5-Jun-07 19:21 
GeneralRe: sqltypes.h giving error Pin
Mark Salsbery6-Jun-07 4:40
Mark Salsbery6-Jun-07 4:40 

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.