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

C / C++ / MFC

 
GeneralRe: Constructor / Destructor Question Pin
Perisic, Aleksandar2-Mar-09 7:37
Perisic, Aleksandar2-Mar-09 7:37 
GeneralRe: Constructor / Destructor Question Pin
Richard Andrew x642-Mar-09 7:39
professionalRichard Andrew x642-Mar-09 7:39 
GeneralRe: Constructor / Destructor Question Pin
Eytukan2-Mar-09 19:34
Eytukan2-Mar-09 19:34 
GeneralRe: Constructor / Destructor Question Pin
Eytukan2-Mar-09 19:32
Eytukan2-Mar-09 19:32 
GeneralRe: Constructor / Destructor Question Pin
Perisic, Aleksandar2-Mar-09 19:54
Perisic, Aleksandar2-Mar-09 19:54 
GeneralRe: Constructor / Destructor Question Pin
Eytukan2-Mar-09 20:03
Eytukan2-Mar-09 20:03 
GeneralRe: Constructor / Destructor Question Pin
Richard Andrew x642-Mar-09 7:38
professionalRichard Andrew x642-Mar-09 7:38 
GeneralRe: Constructor / Destructor Question Pin
Eytukan2-Mar-09 19:46
Eytukan2-Mar-09 19:46 
Richard Andrew x64 wrote:
Are you saying that even though ts is created on the heap, that the CObject array inside the structure is created on the stack? Unsure | :~


Exactly NOT. Actually my reply was not exactly an answer for your question. I was trying to explain the other way where it would result in a condition that you expected.
But in the reverse, I'd say, when you allocate CObjects in heap, no matter you create the TestStruct on heap or stack, they are going to remain in heap.

He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

AnswerRe: Constructor / Destructor Question Pin
Perisic, Aleksandar2-Mar-09 5:38
Perisic, Aleksandar2-Mar-09 5:38 
QuestionNeed help on CDateTimeCtrl class Pin
John5022-Mar-09 4:25
John5022-Mar-09 4:25 
AnswerRe: Need help on CDateTimeCtrl class Pin
Perisic, Aleksandar2-Mar-09 6:14
Perisic, Aleksandar2-Mar-09 6:14 
GeneralRe: Need help on CDateTimeCtrl class Pin
John5022-Mar-09 6:57
John5022-Mar-09 6:57 
QuestionPointer Pin
dehseth2-Mar-09 4:25
dehseth2-Mar-09 4:25 
QuestionRe: Pointer Pin
prasad_som2-Mar-09 4:54
prasad_som2-Mar-09 4:54 
NewsRe: Pointer Pin
dehseth2-Mar-09 7:29
dehseth2-Mar-09 7:29 
AnswerRe: Pointer Pin
Stephen Hewitt2-Mar-09 5:10
Stephen Hewitt2-Mar-09 5:10 
GeneralRe: Pointer Pin
dehseth2-Mar-09 7:30
dehseth2-Mar-09 7:30 
AnswerRe: Pointer Pin
Stuart Dootson2-Mar-09 7:13
professionalStuart Dootson2-Mar-09 7:13 
GeneralRe: Pointer Pin
dehseth2-Mar-09 7:31
dehseth2-Mar-09 7:31 
GeneralRe: Pointer Pin
Stuart Dootson2-Mar-09 8:07
professionalStuart Dootson2-Mar-09 8:07 
Questionhow to fill out fields in a third party program's GUI window Pin
Tanveer Ansari 12-Mar-09 3:17
Tanveer Ansari 12-Mar-09 3:17 
AnswerRe: how to fill out fields in a third party program's GUI window Pin
Perisic, Aleksandar2-Mar-09 6:02
Perisic, Aleksandar2-Mar-09 6:02 
Questionquestion about structured storages Pin
rkata2-Mar-09 2:38
rkata2-Mar-09 2:38 
AnswerRe: question about structured storages Pin
led mike2-Mar-09 4:10
led mike2-Mar-09 4:10 
QuestionError message Pin
vanishaa2-Mar-09 2:26
vanishaa2-Mar-09 2:26 

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.