Click here to Skip to main content
16,005,138 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can handle this exception? [modified] Pin
Le@rner16-Nov-10 21:06
Le@rner16-Nov-10 21:06 
GeneralRe: How can handle this exception? Pin
Cedric Moonen16-Nov-10 21:17
Cedric Moonen16-Nov-10 21:17 
GeneralRe: How can handle this exception? Pin
Alain Rist16-Nov-10 21:23
Alain Rist16-Nov-10 21:23 
GeneralRe: How can handle this exception? Pin
Le@rner16-Nov-10 22:41
Le@rner16-Nov-10 22:41 
GeneralRe: How can handle this exception? Pin
Cedric Moonen16-Nov-10 22:51
Cedric Moonen16-Nov-10 22:51 
AnswerRe: How can handle this exception? Pin
Alain Rist16-Nov-10 22:55
Alain Rist16-Nov-10 22:55 
GeneralRe: How can handle this exception? Pin
Le@rner16-Nov-10 23:15
Le@rner16-Nov-10 23:15 
GeneralRe: How can handle this exception? Pin
Cedric Moonen16-Nov-10 23:43
Cedric Moonen16-Nov-10 23:43 
The problem is that you don't terminate your string when you call recv. See this thread[^] (just below) for more info.

Now, if you would have used your debugger, you would probably have spotted the problem immediately (by inspecting the string which is not terminated).
Cédric Moonen
Software developer

Charting control [v3.0]
OpenGL game tutorial in C++

GeneralRe: How can handle this exception? Pin
Alain Rist17-Nov-10 0:05
Alain Rist17-Nov-10 0:05 
GeneralRe: How can handle this exception? Pin
Cedric Moonen16-Nov-10 23:41
Cedric Moonen16-Nov-10 23:41 
GeneralRe: How can handle this exception? Pin
Alain Rist17-Nov-10 0:11
Alain Rist17-Nov-10 0:11 
GeneralRe: How can handle this exception? Pin
Le@rner17-Nov-10 0:35
Le@rner17-Nov-10 0:35 
GeneralRe: How can handle this exception? Pin
Alain Rist17-Nov-10 1:29
Alain Rist17-Nov-10 1:29 
QuestionRe: How can handle this exception? Pin
David Crow17-Nov-10 3:19
David Crow17-Nov-10 3:19 
Questionbuffer filled with trash [modified] Pin
ALLERSLIT16-Nov-10 13:22
ALLERSLIT16-Nov-10 13:22 
AnswerRe: buffer filled with trash Pin
Stephen Hewitt16-Nov-10 17:35
Stephen Hewitt16-Nov-10 17:35 
GeneralRe: buffer filled with trash Pin
Richard MacCutchan16-Nov-10 21:22
mveRichard MacCutchan16-Nov-10 21:22 
QuestionAccessing vector in another class?? Pin
AmbiguousName16-Nov-10 0:53
AmbiguousName16-Nov-10 0:53 
AnswerRe: Accessing vector in another class?? Pin
Chris Losinger16-Nov-10 1:37
professionalChris Losinger16-Nov-10 1:37 
AnswerRe: Accessing vector in another class?? Pin
Richard MacCutchan16-Nov-10 1:40
mveRichard MacCutchan16-Nov-10 1:40 
GeneralRe: Accessing vector in another class?? Pin
AmbiguousName16-Nov-10 2:14
AmbiguousName16-Nov-10 2:14 
QuestionCan i use Property Page as a dialog Box? Pin
Le@rner15-Nov-10 20:11
Le@rner15-Nov-10 20:11 
AnswerRe: Can i use Property Page as a dialog Box? Pin
Cedric Moonen15-Nov-10 20:33
Cedric Moonen15-Nov-10 20:33 
GeneralRe: Can i use Property Page as a dialog Box? Pin
Le@rner15-Nov-10 20:49
Le@rner15-Nov-10 20:49 
GeneralRe: Can i use Property Page as a dialog Box? Pin
Cool_Dev15-Nov-10 21:27
Cool_Dev15-Nov-10 21:27 

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.