Click here to Skip to main content
15,926,319 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with CreateProcess()? Pin
25-Apr-02 1:27
suss25-Apr-02 1:27 
GeneralRe: Problem with CreateProcess()? Pin
Neville Franks25-Apr-02 1:35
Neville Franks25-Apr-02 1:35 
GeneralRe: Problem with CreateProcess()? Pin
25-Apr-02 3:10
suss25-Apr-02 3:10 
GeneralRe: Problem with CreateProcess()? Pin
Neville Franks25-Apr-02 11:47
Neville Franks25-Apr-02 11:47 
GeneralCObArray Problem Pin
Sameer Maggon23-Apr-02 23:56
Sameer Maggon23-Apr-02 23:56 
GeneralRe: CObArray Problem Pin
Tom Archer24-Apr-02 0:00
Tom Archer24-Apr-02 0:00 
GeneralRe: CObArray Problem Pin
Sameer Maggon24-Apr-02 1:16
Sameer Maggon24-Apr-02 1:16 
GeneralRe: CObArray Problem Pin
Chris Maunder24-Apr-02 1:19
cofounderChris Maunder24-Apr-02 1:19 
temp is just a pointer to an existing piece of memory. Simply don't delete it if you want to keep that piece of memory.

By creating a pointer, and assigning to that pointer a memory address, you are not creating new memory - you are just pointing to existing memory, so there is no need to call delete.

Just make sure you call delete on all the elements in the array once you have done with them

cheers,
Chris Maunder
GeneralRe: CObArray Problem Pin
Sameer Maggon24-Apr-02 1:29
Sameer Maggon24-Apr-02 1:29 
GeneralRe: CObArray Problem Pin
Chris Maunder24-Apr-02 2:18
cofounderChris Maunder24-Apr-02 2:18 
GeneralRe: CObArray Problem Pin
Tom Archer24-Apr-02 1:25
Tom Archer24-Apr-02 1:25 
Generalenable disabled dialog objects Pin
23-Apr-02 23:01
suss23-Apr-02 23:01 
GeneralRe: enable disabled dialog objects Pin
23-Apr-02 23:08
suss23-Apr-02 23:08 
QuestionHow to easy implement Regular Expression support? Pin
Alex Cramer23-Apr-02 23:00
Alex Cramer23-Apr-02 23:00 
AnswerRe: How to easy implement Regular Expression support? Pin
Joaquín M López Muñoz23-Apr-02 23:38
Joaquín M López Muñoz23-Apr-02 23:38 
GeneralRe: How to easy implement Regular Expression support? Pin
Alex Cramer23-Apr-02 23:43
Alex Cramer23-Apr-02 23:43 
GeneralRe: How to easy implement Regular Expression support? Pin
Joaquín M López Muñoz23-Apr-02 23:48
Joaquín M López Muñoz23-Apr-02 23:48 
GeneralThanks! Pin
Alex Cramer24-Apr-02 15:16
Alex Cramer24-Apr-02 15:16 
GeneralCtrl+O doesn't work... HELP! Pin
thundercatzlair23-Apr-02 22:52
thundercatzlair23-Apr-02 22:52 
GeneralFocus a Dialog Pin
Sameer Maggon23-Apr-02 22:26
Sameer Maggon23-Apr-02 22:26 
GeneralRe: Focus a Dialog Pin
Joaquín M López Muñoz23-Apr-02 23:03
Joaquín M López Muñoz23-Apr-02 23:03 
GeneralRe: Focus a Dialog Pin
Tom Archer24-Apr-02 0:14
Tom Archer24-Apr-02 0:14 
GeneralDynamically loading parts of an application's GUI Pin
23-Apr-02 22:21
suss23-Apr-02 22:21 
GeneralRe: Dynamically loading parts of an application's GUI Pin
Jon Hulatt23-Apr-02 23:48
Jon Hulatt23-Apr-02 23:48 
GeneralRe: Dynamically loading parts of an application's GUI Pin
23-Apr-02 23:55
suss23-Apr-02 23:55 

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.