Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Exception Pin
Aescleal15-Jul-10 23:46
Aescleal15-Jul-10 23:46 
GeneralRe: Exception Pin
Richard MacCutchan16-Jul-10 3:09
mveRichard MacCutchan16-Jul-10 3:09 
GeneralRe: Exception Pin
KarstenK15-Jul-10 21:57
mveKarstenK15-Jul-10 21:57 
AnswerRe: Exception Pin
Aescleal15-Jul-10 21:39
Aescleal15-Jul-10 21:39 
GeneralRe: Exception Pin
Sauro Viti15-Jul-10 23:33
professionalSauro Viti15-Jul-10 23:33 
AnswerRe: Exception Pin
Hristo-Bojilov15-Jul-10 23:54
Hristo-Bojilov15-Jul-10 23:54 
QuestionProblem in Reading File. Pin
Le@rner15-Jul-10 19:45
Le@rner15-Jul-10 19:45 
AnswerRe: Problem in Reading File. Pin
Cedric Moonen15-Jul-10 20:26
Cedric Moonen15-Jul-10 20:26 
GeneralRe: Problem in Reading File. Pin
Le@rner15-Jul-10 20:40
Le@rner15-Jul-10 20:40 
GeneralRe: Problem in Reading File. Pin
Cedric Moonen15-Jul-10 20:57
Cedric Moonen15-Jul-10 20:57 
GeneralRe: Problem in Reading File. Pin
Le@rner15-Jul-10 20:58
Le@rner15-Jul-10 20:58 
GeneralRe: Problem in Reading File. Pin
Cedric Moonen15-Jul-10 21:13
Cedric Moonen15-Jul-10 21:13 
AnswerRe: Problem in Reading File. Pin
SnowHow16-Jul-10 7:18
SnowHow16-Jul-10 7:18 
GeneralRe: Problem in Reading File. Pin
Shivanand Gupta19-Jul-10 0:10
Shivanand Gupta19-Jul-10 0:10 
QuestionMouse Move Capture Pin
shiv@nand15-Jul-10 19:23
shiv@nand15-Jul-10 19:23 
AnswerRe: Mouse Move Capture Pin
KarstenK15-Jul-10 22:04
mveKarstenK15-Jul-10 22:04 
QuestionProper #include sequence Pin
Trevor Johansen15-Jul-10 15:21
Trevor Johansen15-Jul-10 15:21 
AnswerRe: Proper #include sequence Pin
coder21k15-Jul-10 19:28
coder21k15-Jul-10 19:28 
GeneralRe: Proper #include sequence Pin
Trevor Johansen15-Jul-10 19:54
Trevor Johansen15-Jul-10 19:54 
AnswerRe: Proper #include sequence Pin
Aescleal15-Jul-10 21:23
Aescleal15-Jul-10 21:23 
GeneralRe: Proper #include sequence Pin
Trevor Johansen16-Jul-10 21:13
Trevor Johansen16-Jul-10 21:13 
QuestionAllocating memory Pin
ALLERSLIT15-Jul-10 6:31
ALLERSLIT15-Jul-10 6:31 
AnswerRe: Allocating memory Pin
Emilio Garavaglia15-Jul-10 7:24
Emilio Garavaglia15-Jul-10 7:24 
AnswerRe: Allocating memory Pin
elchupathingy15-Jul-10 8:34
elchupathingy15-Jul-10 8:34 
AnswerRe: Allocating memory Pin
Richard MacCutchan15-Jul-10 8:56
mveRichard MacCutchan15-Jul-10 8:56 
See the remarks section here[^], you should always check the return values of system calls to see whether they succeeded or not. In the case of recv it will tell you if the message cannot be completely transferred to the buffer. You should re-allocate your buffer to a larger size and try again until you are able to read the entire message.
It's time for a new signature.

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.