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

C / C++ / MFC

 
GeneralRe: Configuration/source control for a Visual Studio project Pin
Taka Muraoka15-Apr-05 19:53
Taka Muraoka15-Apr-05 19:53 
Questionwho can tell me WHY? Pin
simon wan15-Apr-05 4:13
simon wan15-Apr-05 4:13 
AnswerRe: who can tell me WHY? Pin
namaskaaram15-Apr-05 4:38
namaskaaram15-Apr-05 4:38 
AnswerRe: who can tell me WHY? Pin
Bob Stanneveld15-Apr-05 5:09
Bob Stanneveld15-Apr-05 5:09 
AnswerRe: who can tell me WHY? Pin
S. Senthil Kumar15-Apr-05 6:38
S. Senthil Kumar15-Apr-05 6:38 
QuestionMS FlexGrid : How to merge 4-cells to a single cell? Pin
jahfer15-Apr-05 4:13
jahfer15-Apr-05 4:13 
Generalmultithreaded tcp server Pin
Member 180081715-Apr-05 2:55
Member 180081715-Apr-05 2:55 
GeneralRe: multithreaded tcp server Pin
Alexander M.,15-Apr-05 3:35
Alexander M.,15-Apr-05 3:35 
You don't need a multithreaded app to handle multiple connections!
CAsyncSocket has overrideable notification functions, e.g. OnAccept, which informs the app about an incoming connection.
The whole notification works via windows messages (WSAAsyncSelect), so you only need one single thread for the message loop (which is done by MFC) and you will be able to handle many connections.
Using multithreading just makes sense when the CAsyncSocket::OnReceive has to do operations that take much time because it would block the message loop.

Don't try it, just do it! Wink | ;-)
GeneralShould be simple CEdit Pin
Punk Legend15-Apr-05 1:14
sussPunk Legend15-Apr-05 1:14 
GeneralRe: Should be simple CEdit Pin
toxcct15-Apr-05 1:40
toxcct15-Apr-05 1:40 
GeneralRe: (Modified)Should be simple CEdit Pin
namaskaaram15-Apr-05 2:50
namaskaaram15-Apr-05 2:50 
GeneralRe: Should be simple CEdit Pin
David Crow15-Apr-05 3:48
David Crow15-Apr-05 3:48 
GeneralRe: Should be simple CEdit Pin
Ravi Bhavnani15-Apr-05 4:10
professionalRavi Bhavnani15-Apr-05 4:10 
GeneralRe: Should be simple CEdit Pin
David Crow15-Apr-05 5:26
David Crow15-Apr-05 5:26 
QuestionHow to load picture to FlexGrid cell in MFC? Pin
jahfer14-Apr-05 23:51
jahfer14-Apr-05 23:51 
AnswerRe: How to load picture to FlexGrid cell in MFC? Pin
22491715-Apr-05 0:42
22491715-Apr-05 0:42 
GeneralRe: How to load picture to FlexGrid cell in MFC? Pin
jahfer15-Apr-05 1:42
jahfer15-Apr-05 1:42 
GeneralRe: How to load picture to FlexGrid cell in MFC? Pin
22491715-Apr-05 1:45
22491715-Apr-05 1:45 
GeneralGet line index of cursor in CRichEditCtrl Pin
Juanpast14-Apr-05 23:43
Juanpast14-Apr-05 23:43 
GeneralRe: Get line index of cursor in CRichEditCtrl Pin
22491715-Apr-05 0:00
22491715-Apr-05 0:00 
GeneralWM_MBUTTONDBLCLK please help me Pin
Member 68936114-Apr-05 23:08
Member 68936114-Apr-05 23:08 
GeneralRe: WM_MBUTTONDBLCLK please help me Pin
22491715-Apr-05 0:01
22491715-Apr-05 0:01 
GeneralRe: WM_MBUTTONDBLCLK please help me Pin
Member 68936115-Apr-05 8:45
Member 68936115-Apr-05 8:45 
GeneralProblem with CListCtrl Pin
Neeranjan14-Apr-05 22:52
Neeranjan14-Apr-05 22:52 
GeneralCant use Ctrl+C like commands with CFormView Pin
ugur_basak14-Apr-05 21:54
ugur_basak14-Apr-05 21:54 

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.