Click here to Skip to main content
15,891,811 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why it is not good code for constructor Pin
CPallini26-Dec-07 3:29
mveCPallini26-Dec-07 3:29 
GeneralRe: Why it is not good code for constructor Pin
George_George26-Dec-07 3:50
George_George26-Dec-07 3:50 
GeneralRe: Why it is not good code for constructor Pin
Sarath C26-Dec-07 4:09
Sarath C26-Dec-07 4:09 
GeneralRe: Why it is not good code for constructor Pin
George_George26-Dec-07 18:19
George_George26-Dec-07 18:19 
GeneralRe: Why it is not good code for constructor Pin
CPallini26-Dec-07 4:46
mveCPallini26-Dec-07 4:46 
GeneralRe: Why it is not good code for constructor Pin
George_George26-Dec-07 18:22
George_George26-Dec-07 18:22 
GeneralRe: Why it is not good code for constructor Pin
CPallini26-Dec-07 21:05
mveCPallini26-Dec-07 21:05 
GeneralRe: Why it is not good code for constructor Pin
George_George26-Dec-07 21:31
George_George26-Dec-07 21:31 
Sorry, CPallini.


I may not make myself 100% understood. I mean we catch exception in B's constructor function try block handler, and free the memory in the handler, then re-throw the exception to C. Do you think it is good approach?


regards,
George
GeneralRe: Why it is not good code for constructor Pin
CPallini26-Dec-07 22:00
mveCPallini26-Dec-07 22:00 
GeneralRe: Why it is not good code for constructor Pin
George_George26-Dec-07 22:36
George_George26-Dec-07 22:36 
GeneralRe: Why it is not good code for constructor Pin
CPallini26-Dec-07 22:53
mveCPallini26-Dec-07 22:53 
GeneralRe: Why it is not good code for constructor Pin
George_George26-Dec-07 23:14
George_George26-Dec-07 23:14 
GeneralRe: Why it is not good code for constructor Pin
CPallini26-Dec-07 23:34
mveCPallini26-Dec-07 23:34 
GeneralRe: Why it is not good code for constructor Pin
George_George27-Dec-07 0:39
George_George27-Dec-07 0:39 
GeneralRe: Why it is not good code for constructor Pin
CPallini27-Dec-07 0:58
mveCPallini27-Dec-07 0:58 
GeneralRe: Why it is not good code for constructor Pin
George_George27-Dec-07 1:03
George_George27-Dec-07 1:03 
QuestionFile rename in UNICODE Pin
Ajay L D26-Dec-07 2:56
Ajay L D26-Dec-07 2:56 
GeneralRe: File rename in UNICODE [modified] Pin
Sarath C26-Dec-07 4:53
Sarath C26-Dec-07 4:53 
GeneralRe: File rename in UNICODE Pin
Ajay L D26-Dec-07 17:15
Ajay L D26-Dec-07 17:15 
GeneralRe: File rename in UNICODE Pin
CPallini26-Dec-07 4:56
mveCPallini26-Dec-07 4:56 
GeneralRe: File rename in UNICODE Pin
Ajay L D26-Dec-07 18:46
Ajay L D26-Dec-07 18:46 
GeneralRe: File rename in UNICODE Pin
David Crow27-Dec-07 4:32
David Crow27-Dec-07 4:32 
Generalbad_alloc Pin
George_George26-Dec-07 2:36
George_George26-Dec-07 2:36 
GeneralRe: bad_alloc Pin
CPallini26-Dec-07 11:53
mveCPallini26-Dec-07 11:53 
GeneralRe: bad_alloc Pin
George_George26-Dec-07 17:44
George_George26-Dec-07 17:44 

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.