Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Where to execute constructor? Pin
Wes Aday21-Aug-06 11:24
professionalWes Aday21-Aug-06 11:24 
GeneralRe: Where to execute constructor? Pin
Oliver12321-Aug-06 12:00
Oliver12321-Aug-06 12:00 
GeneralRe: Where to execute constructor? Pin
Wes Aday21-Aug-06 12:03
professionalWes Aday21-Aug-06 12:03 
GeneralRe: Where to execute constructor? Pin
Rudolf Jan22-Aug-06 0:19
Rudolf Jan22-Aug-06 0:19 
GeneralRe: Where to execute constructor? Pin
Oliver12322-Aug-06 11:44
Oliver12322-Aug-06 11:44 
GeneralRe: Where to execute constructor? Pin
Oliver12322-Aug-06 16:28
Oliver12322-Aug-06 16:28 
QuestionDesign Patterns : Command Pattern? Pin
brodies21-Aug-06 9:15
brodies21-Aug-06 9:15 
AnswerRe: Design Patterns : Command Pattern? Pin
Neville Franks21-Aug-06 11:24
Neville Franks21-Aug-06 11:24 
I'm working on something similar to this. I started by looking at various Socket and MOM libararies here on CP and elsewhere. Two in particular are MQ4CPP and Muscle. In the end these were not what I wanted, but they helped provide a better understanding of sockets, messaging etc.

So I've written my own simple implementation. I've not used the callback approach as I have a simple protocol which can be handled in a procedural fashion. In order to handle the various types of data (int, string, file etc) I've used the CDiggins any class which is here on CP. This has kept my interface into the socket code simple as it only uses any's. An any is a variant that can hold anything.

There is also an article here on CP that uses a state machine approach, which you may find of itnerest.

I've got all this stuff in Surfulater, so let me know if you need any links. HTH

Neville Franks, Author of Surfulater www.surfulater.com "Save what you Surf" and ED for Windows www.getsoft.com


QuestionWord automation question with NO MFC Pin
great_tommy21-Aug-06 8:42
great_tommy21-Aug-06 8:42 
QuestionRun time library Pin
Waldermort21-Aug-06 7:33
Waldermort21-Aug-06 7:33 
AnswerRe: Run time library Pin
Zac Howland21-Aug-06 8:27
Zac Howland21-Aug-06 8:27 
GeneralRe: Run time library Pin
Waldermort21-Aug-06 8:52
Waldermort21-Aug-06 8:52 
AnswerRe: Run time library Pin
Chris Losinger21-Aug-06 8:32
professionalChris Losinger21-Aug-06 8:32 
QuestionProblem displaying drag image using IDropTargetHelper [modified] Pin
Justin Tay21-Aug-06 7:02
Justin Tay21-Aug-06 7:02 
QuestionCEdit : visually displaying the space character ? Pin
Maximilien21-Aug-06 5:54
Maximilien21-Aug-06 5:54 
AnswerRe: CEdit : visually displaying the space character ? [modified] Pin
ZaebanB21-Aug-06 6:25
ZaebanB21-Aug-06 6:25 
AnswerRe: CEdit : visually displaying the space character ? Pin
PJ Arends21-Aug-06 6:52
professionalPJ Arends21-Aug-06 6:52 
Questionregarding pdf Pin
Tara1421-Aug-06 3:52
Tara1421-Aug-06 3:52 
AnswerRe: regarding pdf Pin
benjymous21-Aug-06 4:04
benjymous21-Aug-06 4:04 
GeneralRe: regarding pdf Pin
Tara1421-Aug-06 4:12
Tara1421-Aug-06 4:12 
GeneralRe: regarding pdf Pin
bob1697221-Aug-06 8:11
bob1697221-Aug-06 8:11 
GeneralRe: regarding pdf Pin
Tara1410-Sep-06 8:22
Tara1410-Sep-06 8:22 
GeneralRe: regarding pdf Pin
bob1697210-Sep-06 17:04
bob1697210-Sep-06 17:04 
GeneralRe: regarding pdf Pin
Tara1410-Sep-06 19:21
Tara1410-Sep-06 19:21 
GeneralRe: regarding pdf Pin
bob1697211-Sep-06 4:32
bob1697211-Sep-06 4:32 

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.