Click here to Skip to main content
15,908,254 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCAsyncSocket ? Can I use A currently active Cdialog Pin
ForNow12-May-09 5:41
ForNow12-May-09 5:41 
AnswerRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
David Crow12-May-09 6:52
David Crow12-May-09 6:52 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
ForNow12-May-09 7:50
ForNow12-May-09 7:50 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
David Crow12-May-09 7:58
David Crow12-May-09 7:58 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
ForNow12-May-09 8:41
ForNow12-May-09 8:41 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
ForNow12-May-09 8:49
ForNow12-May-09 8:49 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
David Crow12-May-09 10:32
David Crow12-May-09 10:32 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
ForNow12-May-09 10:58
ForNow12-May-09 10:58 
much thankx

Let me a) repeat to see it if I understand

b) say how I will implement my solution



First

After creating the Object e.g. CAsyncSocket mytcpip;

attach(socket) will actually populate the Object this is typically

a first time thing


::FromHandle will get a pointer to the Object CWnd* etc...


My implementation for my TCP/IP connections


I will create the CAsyncSocket object in the Dialog Class method

Create the socket


then Create a User Interface Cwindthread (with a message pump, no need for a Cdialog class all I need is something that has a message pump)

which will attach(socket)

and do send and receives

And let My Cdialog class know when I receive data

thankx again
QuestionHow to use CListCtrl class ? Pin
vital_parsley200012-May-09 5:19
vital_parsley200012-May-09 5:19 
AnswerRe: How to use CListCtrl class ? Pin
David Crow12-May-09 5:29
David Crow12-May-09 5:29 
GeneralRe: How to use CListCtrl class ? [modified] Pin
vital_parsley200012-May-09 18:22
vital_parsley200012-May-09 18:22 
QuestionDev environment not releasing control of .exe Pin
Dustin Henry12-May-09 3:49
Dustin Henry12-May-09 3:49 
AnswerRe: Dev environment not releasing control of .exe Pin
Naveen12-May-09 4:50
Naveen12-May-09 4:50 
GeneralRe: Dev environment not releasing control of .exe Pin
Dustin Henry12-May-09 5:11
Dustin Henry12-May-09 5:11 
Questionhow to Pin
yunpil12-May-09 3:42
yunpil12-May-09 3:42 
AnswerRe: how to Pin
David Crow12-May-09 4:32
David Crow12-May-09 4:32 
AnswerRe: how to Pin
Michael Schubert12-May-09 5:47
Michael Schubert12-May-09 5:47 
QuestionRe: how to Pin
CPallini12-May-09 7:49
mveCPallini12-May-09 7:49 
AnswerRe: how to Pin
Madhu Nair12-May-09 9:11
Madhu Nair12-May-09 9:11 
Questionuser form control in MFC Pin
Laan8212-May-09 3:06
Laan8212-May-09 3:06 
AnswerRe: user form control in MFC Pin
Laan8212-May-09 7:01
Laan8212-May-09 7:01 
QuestionRe: user form control in MFC Pin
Maximilien12-May-09 7:48
Maximilien12-May-09 7:48 
AnswerRe: user form control in MFC Pin
Laan8213-May-09 5:40
Laan8213-May-09 5:40 
QuestionMultiple windows in VC++ Pin
vinod shankar k12-May-09 2:50
vinod shankar k12-May-09 2:50 
AnswerRe: Multiple windows in VC++ Pin
CPallini12-May-09 3:04
mveCPallini12-May-09 3:04 

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.