Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ActiveX with modeless Dialog Pin
Peter Molnar18-Nov-03 13:45
Peter Molnar18-Nov-03 13:45 
GeneralRe: ActiveX with modeless Dialog Pin
AnTri18-Nov-03 23:05
AnTri18-Nov-03 23:05 
GeneralRe: ActiveX with modeless Dialog Pin
Peter Molnar19-Nov-03 4:26
Peter Molnar19-Nov-03 4:26 
Generalemail + attachement Pin
doctorpi18-Nov-03 4:47
doctorpi18-Nov-03 4:47 
GeneralRe: email + attachement Pin
David Crow18-Nov-03 5:51
David Crow18-Nov-03 5:51 
GeneralRe: email + attachement Pin
Peter Molnar18-Nov-03 14:05
Peter Molnar18-Nov-03 14:05 
GeneralRe: deleting pointers and STL. Pin
berndg18-Nov-03 4:10
berndg18-Nov-03 4:10 
GeneralRe: deleting pointers and STL. Pin
TFrancis18-Nov-03 4:11
TFrancis18-Nov-03 4:11 
Right, you "copy" the pointer, but you don't copy what the pointer points to. If you call delete on pImageDisplay, then it deletes the CImageDisplay object, thus causing pImageDisplayVector[i] to point to unallocated memory. In other words, don't call delete until you're done with pImageDisplayVector. Just let pImageDisplay go out of scope. Then, in the destructor of whatever object pImageDisplayVector is part of, iterate through pImageDisplayVector calling delete on each item. This will destroy everything that's suppose to be destroyed.
GeneralThanks! to both!!! Pin
ns18-Nov-03 4:20
ns18-Nov-03 4:20 
GeneralError in Release !!! Pin
SD318-Nov-03 3:15
SD318-Nov-03 3:15 
GeneralRe: Error in Release !!! Pin
valikac18-Nov-03 5:58
valikac18-Nov-03 5:58 
GeneralRe: Error in Release !!! Pin
Peter Molnar18-Nov-03 14:18
Peter Molnar18-Nov-03 14:18 
GeneralRe: Error in Release !!! Pin
SD319-Nov-03 23:47
SD319-Nov-03 23:47 
QuestionHow to notify one thread to terminate Pin
Jin Yao18-Nov-03 2:38
Jin Yao18-Nov-03 2:38 
AnswerRe: How to notify one thread to terminate Pin
Dudi Avramov18-Nov-03 2:43
Dudi Avramov18-Nov-03 2:43 
GeneralRe: How to notify one thread to terminate Pin
Jin Yao18-Nov-03 3:05
Jin Yao18-Nov-03 3:05 
GeneralH263 Codec and Direct Show Pin
LozEvans18-Nov-03 2:06
LozEvans18-Nov-03 2:06 
GeneralTSP algorithm Pin
Dhakad18-Nov-03 2:00
Dhakad18-Nov-03 2:00 
GeneralRe: TSP algorithm Pin
David Crow18-Nov-03 6:57
David Crow18-Nov-03 6:57 
QuestionHow do you fork() windows guys ? Pin
Max Rudensky18-Nov-03 1:43
sussMax Rudensky18-Nov-03 1:43 
AnswerRe: How do you fork() windows guys ? Pin
Daniel Turini18-Nov-03 2:16
Daniel Turini18-Nov-03 2:16 
GeneralRe: How do you fork() windows guys ? Pin
Mike Dimmick18-Nov-03 2:31
Mike Dimmick18-Nov-03 2:31 
GeneralRe: How do you fork() windows guys ? Pin
Daniel Turini18-Nov-03 2:36
Daniel Turini18-Nov-03 2:36 
GeneralRe: How do you fork() windows guys ? Pin
Adam Gritt18-Nov-03 4:38
Adam Gritt18-Nov-03 4:38 
GeneralA Graphical Question Pin
Member 63357718-Nov-03 1:31
Member 63357718-Nov-03 1:31 

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.