Click here to Skip to main content
16,018,805 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalinternet explorer plugin Pin
player112-Sep-03 3:26
player112-Sep-03 3:26 
GeneralRe: internet explorer plugin Pin
David Crow12-Sep-03 4:23
David Crow12-Sep-03 4:23 
QuestionMembership in Thread is defined by object or by method ? Pin
vgrigor12-Sep-03 3:14
vgrigor12-Sep-03 3:14 
AnswerRe: Membership in Thread is defined by object or by method ? Pin
Mike Dimmick12-Sep-03 5:26
Mike Dimmick12-Sep-03 5:26 
QuestionHow to use the Word Object Library in VC++? Pin
GTS202012-Sep-03 2:52
GTS202012-Sep-03 2:52 
AnswerRe: How to use the Word Object Library in VC++? Pin
David Crow12-Sep-03 2:56
David Crow12-Sep-03 2:56 
GeneralRe: How to use the Word Object Library in VC++? Pin
GTS202012-Sep-03 3:21
GTS202012-Sep-03 3:21 
GeneralChat - Program Pin
pillepop12-Sep-03 2:37
pillepop12-Sep-03 2:37 
Hey all,

Im new to C++ and MFC and am trying to write a chat program for direct IP connections via TCP/IP.
For that I derived a class from CAsyncSocket, createt an Instance (m_ConnectSocket) and can now send CStrings via
m_ConnectSocket.Send(Data, Len) and receive them with
m_ConnectSocket.Receive(Buffer, BufferSize)

1.How can I now send and receive different variables...and distinguish them?
I just dont know how to use some kind of flag.

2.Also I would like to know how to get the Length of other objects...e.g. if i want to send a whole struct or Instance of another class.

Please help me
GeneralRe: Chat - Program Pin
Roger Stoltz12-Sep-03 3:59
Roger Stoltz12-Sep-03 3:59 
GeneralRe: Chat - Program Pin
pillepop12-Sep-03 5:39
pillepop12-Sep-03 5:39 
GeneralRe: Chat - Program Pin
Peter Weyzen12-Sep-03 10:26
Peter Weyzen12-Sep-03 10:26 
GeneralMenu in MFC Pin
cberam12-Sep-03 1:53
cberam12-Sep-03 1:53 
GeneralRe: Menu in MFC Pin
vcplusplus12-Sep-03 2:42
vcplusplus12-Sep-03 2:42 
GeneralRe: Menu in MFC Pin
Mike O'Neill12-Sep-03 15:59
Mike O'Neill12-Sep-03 15:59 
GeneralCheck if file is executable Pin
peterchen12-Sep-03 1:43
peterchen12-Sep-03 1:43 
GeneralRe: Check if file is executable Pin
geo_m12-Sep-03 2:38
geo_m12-Sep-03 2:38 
GeneralRe: Check if file is executable Pin
vcplusplus12-Sep-03 2:48
vcplusplus12-Sep-03 2:48 
GeneralRe: Check if file is executable Pin
David Crow12-Sep-03 7:31
David Crow12-Sep-03 7:31 
GeneralRe: Check if file is executable Pin
David Crow12-Sep-03 7:33
David Crow12-Sep-03 7:33 
GeneralThreads and object Pin
El'Cachubrey12-Sep-03 1:07
El'Cachubrey12-Sep-03 1:07 
GeneralRe: Threads and object Pin
Dangleberry12-Sep-03 1:36
sussDangleberry12-Sep-03 1:36 
QuestionWhere can I find a table of all functions inside in kernel32.dll? Pin
Tommy Svensson12-Sep-03 0:34
Tommy Svensson12-Sep-03 0:34 
AnswerRe: Where can I find a table of all functions inside in kernel32.dll? Pin
El'Cachubrey12-Sep-03 0:53
El'Cachubrey12-Sep-03 0:53 
AnswerRe: Where can I find a table of all functions inside in kernel32.dll? Pin
Mike Dimmick12-Sep-03 2:15
Mike Dimmick12-Sep-03 2:15 
AnswerRe: Where can I find a table of all functions inside in kernel32.dll? Pin
David Crow12-Sep-03 2:52
David Crow12-Sep-03 2:52 

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.