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

C / C++ / MFC

 
GeneralRe: Read buffer into a string. Pin
CodingLover27-Jan-08 23:14
CodingLover27-Jan-08 23:14 
GeneralRe: Read buffer into a string. Pin
Cedric Moonen27-Jan-08 23:21
Cedric Moonen27-Jan-08 23:21 
What is the value of buff ?
What happens exactly between the line were you alocate buff and this line ?

BTW, you really should learn how to use a debugger efficiently: try to inspect your variables see if everything is correct. Try putting breakpoints relevant places in your code and step into it to see what happens before the crash.

Cédric Moonen
Software developer

Charting control [v1.2]

GeneralRe: Read buffer into a string. Pin
Maxwell Chen27-Jan-08 23:09
Maxwell Chen27-Jan-08 23:09 
GeneralRe: Read buffer into a string. Pin
CodingLover27-Jan-08 23:18
CodingLover27-Jan-08 23:18 
GeneralRe: Read buffer into a string. Pin
Maxwell Chen27-Jan-08 23:21
Maxwell Chen27-Jan-08 23:21 
GeneralRe: Read buffer into a string. Pin
CodingLover27-Jan-08 23:35
CodingLover27-Jan-08 23:35 
QuestionRe: Read buffer into a string. Pin
CPallini27-Jan-08 23:17
mveCPallini27-Jan-08 23:17 
GeneralRe: Read buffer into a string. Pin
CodingLover27-Jan-08 23:22
CodingLover27-Jan-08 23:22 
GeneralRe: Read buffer into a string. Pin
CPallini27-Jan-08 23:38
mveCPallini27-Jan-08 23:38 
GeneralRe: Read buffer into a string. Pin
CodingLover27-Jan-08 23:52
CodingLover27-Jan-08 23:52 
GeneralRe: Read buffer into a string. Pin
CPallini28-Jan-08 0:17
mveCPallini28-Jan-08 0:17 
GeneralRe: Read buffer into a string. Pin
CodingLover28-Jan-08 0:20
CodingLover28-Jan-08 0:20 
QuestionRe: Read buffer into a string. Pin
CodingLover28-Jan-08 16:31
CodingLover28-Jan-08 16:31 
GeneralRe: Read buffer into a string. Pin
CPallini28-Jan-08 21:21
mveCPallini28-Jan-08 21:21 
GeneralRe: Read buffer into a string. Pin
CodingLover28-Jan-08 22:17
CodingLover28-Jan-08 22:17 
GeneralRe: Read buffer into a string. Pin
CPallini28-Jan-08 22:46
mveCPallini28-Jan-08 22:46 
GeneralRe: Read buffer into a string. Pin
CodingLover29-Jan-08 0:13
CodingLover29-Jan-08 0:13 
Generalexception and global variable Pin
George_George27-Jan-08 22:34
George_George27-Jan-08 22:34 
GeneralRe: exception and global variable Pin
Maxwell Chen27-Jan-08 22:47
Maxwell Chen27-Jan-08 22:47 
GeneralRe: exception and global variable Pin
George_George27-Jan-08 23:08
George_George27-Jan-08 23:08 
GeneralRe: exception and global variable Pin
Maxwell Chen27-Jan-08 23:02
Maxwell Chen27-Jan-08 23:02 
GeneralRe: exception and global variable Pin
George_George27-Jan-08 23:08
George_George27-Jan-08 23:08 
GeneralRe: exception and global variable Pin
Maxwell Chen27-Jan-08 23:11
Maxwell Chen27-Jan-08 23:11 
GeneralRe: exception and global variable Pin
Maxwell Chen27-Jan-08 23:15
Maxwell Chen27-Jan-08 23:15 
GeneralRe: exception and global variable Pin
George_George27-Jan-08 23:42
George_George27-Jan-08 23:42 

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.