Click here to Skip to main content
15,907,395 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help with a couple of C questions Pin
BadKarma28-Nov-07 3:36
BadKarma28-Nov-07 3:36 
Questionnfo Pin
john563227-Nov-07 23:24
john563227-Nov-07 23:24 
AnswerRe: nfo Pin
toxcct27-Nov-07 23:28
toxcct27-Nov-07 23:28 
GeneralOfftopic Pin
Nelek28-Nov-07 3:13
protectorNelek28-Nov-07 3:13 
GeneralRe: Offtopic Pin
toxcct28-Nov-07 3:18
toxcct28-Nov-07 3:18 
GeneralRe: Offtopic Pin
Nelek28-Nov-07 21:43
protectorNelek28-Nov-07 21:43 
GeneralRe: Offtopic Pin
toxcct28-Nov-07 21:47
toxcct28-Nov-07 21:47 
QuestionConsult the issue of Win API routine address and code injection Pin
Jude Deng27-Nov-07 23:04
Jude Deng27-Nov-07 23:04 
AnswerRe: Consult the issue of Win API routine address and code injection [modified] Pin
maciu202028-Nov-07 0:20
maciu202028-Nov-07 0:20 
GeneralRe: Consult the issue of Win API routine address and code injection Pin
Jude Deng28-Nov-07 14:48
Jude Deng28-Nov-07 14:48 
GeneralRe: Consult the issue of Win API routine address and code injection Pin
maciu202028-Nov-07 23:15
maciu202028-Nov-07 23:15 
QuestionRe: Consult the issue of Win API routine address and code injection Pin
David Crow29-Nov-07 2:43
David Crow29-Nov-07 2:43 
AnswerRe: Consult the issue of Win API routine address and code injection Pin
maciu202029-Nov-07 9:47
maciu202029-Nov-07 9:47 
AnswerRe: Consult the issue of Win API routine address and code injection Pin
Jude Deng29-Nov-07 13:26
Jude Deng29-Nov-07 13:26 
QuestionRe: Consult the issue of Win API routine address and code injection Pin
David Crow30-Nov-07 2:40
David Crow30-Nov-07 2:40 
QuestionOpening and reading XML files in MFC (C++) Pin
MrFloyd200927-Nov-07 23:01
MrFloyd200927-Nov-07 23:01 
AnswerRe: Opening and reading XML files in MFC (C++) Pin
toxcct27-Nov-07 23:06
toxcct27-Nov-07 23:06 
GeneralRe: Opening and reading XML files in MFC (C++) Pin
MrFloyd200927-Nov-07 23:26
MrFloyd200927-Nov-07 23:26 
GeneralRe: Opening and reading XML files in MFC (C++) Pin
ThatsAlok27-Nov-07 23:28
ThatsAlok27-Nov-07 23:28 
GeneralRe: Opening and reading XML files in MFC (C++) Pin
toxcct27-Nov-07 23:29
toxcct27-Nov-07 23:29 
AnswerRe: Opening and reading XML files in MFC (C++) Pin
Hamid_RT27-Nov-07 23:44
Hamid_RT27-Nov-07 23:44 
QuestionProbllem related to recv() function in winsock.h header fle Pin
Raghavendra Pise27-Nov-07 22:47
Raghavendra Pise27-Nov-07 22:47 
AnswerRe: Probllem related to recv() function in winsock.h header fle Pin
led mike28-Nov-07 4:53
led mike28-Nov-07 4:53 
AnswerRe: Probllem related to recv() function in winsock.h header fle Pin
Mark Salsbery28-Nov-07 5:47
Mark Salsbery28-Nov-07 5:47 
In addition to led mike's reply...

Sockets work in bytes, that's it.  If you need to work with any other types
then you need to do the multiplication yourself to calculate the number of bytes
for a given type.

recv() is confusing with its char* type - it actually has nothing to do with
"characters" - it's just what the BYTE type was at the time it was designed. 
It's ancient, and most wish it would go away.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

Questionhow to read event log Pin
T@su27-Nov-07 22:39
T@su27-Nov-07 22:39 

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.