Click here to Skip to main content
16,007,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: System info Pin
JohnnyG14-Sep-02 7:30
JohnnyG14-Sep-02 7:30 
Generalimage control in status bar Pin
ns13-Sep-02 3:47
ns13-Sep-02 3:47 
GeneralRe: image control in status bar Pin
Pavel Klocek13-Sep-02 4:17
Pavel Klocek13-Sep-02 4:17 
GeneralProcedure Entry Point could not be located Pin
abhinarulkar13-Sep-02 2:15
abhinarulkar13-Sep-02 2:15 
GeneralRe: Procedure Entry Point could not be located Pin
Tomasz Sowinski13-Sep-02 2:20
Tomasz Sowinski13-Sep-02 2:20 
GeneralRe: Procedure Entry Point could not be located Pin
abhinarulkar13-Sep-02 2:44
abhinarulkar13-Sep-02 2:44 
GeneralRe: Procedure Entry Point could not be located Pin
Tomasz Sowinski13-Sep-02 2:49
Tomasz Sowinski13-Sep-02 2:49 
GeneralPlease help with CAsyncSocket Pin
rrrado13-Sep-02 1:02
rrrado13-Sep-02 1:02 
Hi,

I need an advice from experienced programmer. CAsyncSocket is not too good documented for use in multithreading enviroment. I wrote some testing programs, so i found out that all callback functions are called in the same thread, throught message map (correct me if i'm wrong).
Here's what i need :
Implement communication functions with CAsyncSocket in separate working - non GUI thread.
1. Should I create message map for this thread ? (an how ?)
2. i need sometimes to wait for incoming data. How to implement waiting ? Is it possible to make GetMessage() loop to wait ?? how ?

I don;t understand how and where does CAsyncSocket dispatch socket notification messages and translates them to callback. How does this work ? MFC source is too big for studying.

Thank you




rrrado
GeneralRe: Please help with CAsyncSocket Pin
Rickard Andersson2013-Sep-02 2:59
Rickard Andersson2013-Sep-02 2:59 
GeneralRe: Please help with CAsyncSocket Pin
Anonymous13-Sep-02 17:11
Anonymous13-Sep-02 17:11 
GeneralRe: Please help with CAsyncSocket Pin
rrrado16-Sep-02 2:13
rrrado16-Sep-02 2:13 
GeneralDirectshow Editing Service problem Pin
reg13-Sep-02 0:30
reg13-Sep-02 0:30 
QuestionChecking user passwords in NT system? Pin
GurGur13-Sep-02 0:30
GurGur13-Sep-02 0:30 
AnswerRe: Checking user passwords in NT system? Pin
Tomasz Sowinski13-Sep-02 0:32
Tomasz Sowinski13-Sep-02 0:32 
Questionhow to add event handler for toolbar item in vc++.net Pin
victorswan12-Sep-02 23:29
victorswan12-Sep-02 23:29 
AnswerRe: how to add event handler for toolbar item in vc++.net Pin
dazinith13-Sep-02 4:43
dazinith13-Sep-02 4:43 
GeneralRe: how to add event handler for toolbar item in vc++.net Pin
victorswan13-Sep-02 4:50
victorswan13-Sep-02 4:50 
GeneralRe: how to add event handler for toolbar item in vc++.net Pin
dazinith13-Sep-02 5:26
dazinith13-Sep-02 5:26 
GeneralScrolling problem! Pin
jabbaj12-Sep-02 21:41
jabbaj12-Sep-02 21:41 
GeneralRe: Scrolling problem! Pin
Tomasz Sowinski13-Sep-02 0:42
Tomasz Sowinski13-Sep-02 0:42 
GeneralRe: Scrolling problem! Pin
jabbaj13-Sep-02 2:31
jabbaj13-Sep-02 2:31 
GeneralRe: Scrolling problem! Pin
Tomasz Sowinski13-Sep-02 2:38
Tomasz Sowinski13-Sep-02 2:38 
GeneralRe: Scrolling problem! Pin
jabbaj13-Sep-02 2:45
jabbaj13-Sep-02 2:45 
GeneralRe: Scrolling problem! Pin
Tomasz Sowinski13-Sep-02 2:50
Tomasz Sowinski13-Sep-02 2:50 
GeneralRe: Scrolling problem! Pin
jabbaj13-Sep-02 3:13
jabbaj13-Sep-02 3:13 

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.