Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralEncode/Decode audio/video using avcodec Pin
Don Box20-Dec-07 20:02
Don Box20-Dec-07 20:02 
Questionstatic class member method confusion... Pin
fantasy121520-Dec-07 19:30
fantasy121520-Dec-07 19:30 
GeneralRe: static class member method confusion... Pin
Cedric Moonen20-Dec-07 20:10
Cedric Moonen20-Dec-07 20:10 
QuestionHow to release the memory ..? Pin
shikha12320-Dec-07 19:28
shikha12320-Dec-07 19:28 
AnswerRe: How to release the memory ..? Pin
ashishbhatt20-Dec-07 19:32
ashishbhatt20-Dec-07 19:32 
GeneralRe: How to release the memory ..? Pin
shikha12320-Dec-07 19:49
shikha12320-Dec-07 19:49 
GeneralRe: How to release the memory ..? Pin
ashishbhatt20-Dec-07 20:39
ashishbhatt20-Dec-07 20:39 
AnswerRe: How to release the memory ..? Pin
Cedric Moonen20-Dec-07 20:15
Cedric Moonen20-Dec-07 20:15 
As mentioned before, you should use delete[]. You should keep in mind this simple rule: when you use new, use delete; when you use new[] use delte[]. That's simple.

Now, for your problem, it looks like you are overwriting your buffer (you are writing data outside of your allocated memory). But it is very difficult for us to spot the problem because there is no relevant code. So, please post some relevant code where you are writing in the buffer (and how you allocate it). And please use the formatting tags for your code (unless it will be unreadable).

Cédric Moonen
Software developer

Charting control [v1.2]

Questionhow can i get the client area of edit box Pin
rajneshmalik20-Dec-07 18:51
rajneshmalik20-Dec-07 18:51 
AnswerRe: how can i get the client area of edit box Pin
Don Box20-Dec-07 20:09
Don Box20-Dec-07 20:09 
GeneralRe: how can i get the client area of edit box Pin
rajneshmalik21-Dec-07 0:39
rajneshmalik21-Dec-07 0:39 
GeneralRun time combo box Pin
Y_Kaushik20-Dec-07 17:58
Y_Kaushik20-Dec-07 17:58 
GeneralRe: Run time combo box Pin
Y_Kaushik20-Dec-07 23:37
Y_Kaushik20-Dec-07 23:37 
GeneralRe: Run time combo box Pin
Hamid_RT20-Dec-07 23:58
Hamid_RT20-Dec-07 23:58 
GeneralRe: Run time combo box Pin
Mark Salsbery21-Dec-07 8:42
Mark Salsbery21-Dec-07 8:42 
GeneralDirectShow / DMO Effects Pin
Robert Fiegender20-Dec-07 12:49
sussRobert Fiegender20-Dec-07 12:49 
QuestionHow to access program call arguments? Pin
Anthony Appleyard20-Dec-07 12:10
Anthony Appleyard20-Dec-07 12:10 
AnswerRe: How to access program call arguments? Pin
Steve Echols20-Dec-07 12:22
Steve Echols20-Dec-07 12:22 
GeneralRe: How to access program call arguments? Pin
Anthony Appleyard20-Dec-07 20:31
Anthony Appleyard20-Dec-07 20:31 
AnswerRe: How to access program call arguments? Pin
CPallini20-Dec-07 12:28
mveCPallini20-Dec-07 12:28 
GeneralGetting objects in ROT Pin
Akin Ocal20-Dec-07 12:07
Akin Ocal20-Dec-07 12:07 
GeneralRe: Getting objects in ROT Pin
Stephen Hewitt20-Dec-07 13:55
Stephen Hewitt20-Dec-07 13:55 
Generalifstream slow to close Pin
Budric B.20-Dec-07 11:05
Budric B.20-Dec-07 11:05 
QuestionRuntime error - incompatible iterator - why??? Pin
Philstix20-Dec-07 10:47
Philstix20-Dec-07 10:47 
GeneralRe: Runtime error - incompatible iterator - why??? Pin
Philstix20-Dec-07 10:50
Philstix20-Dec-07 10:50 

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.