Click here to Skip to main content
15,898,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: Get the machine name of the mapped drive C++ Pin
Iain Clarke, Warrior Programmer12-Jan-09 5:23
Iain Clarke, Warrior Programmer12-Jan-09 5:23 
JokeRe: Get the machine name of the mapped drive C++ Pin
Rajesh R Subramanian12-Jan-09 5:31
professionalRajesh R Subramanian12-Jan-09 5:31 
GeneralRe: Get the machine name of the mapped drive C++ Pin
Iain Clarke, Warrior Programmer12-Jan-09 5:42
Iain Clarke, Warrior Programmer12-Jan-09 5:42 
QuestionFunction not getting overloaded... Pin
vikram.vit12-Jan-09 2:07
vikram.vit12-Jan-09 2:07 
AnswerRe: Function not getting overloaded... Pin
Stuart Dootson12-Jan-09 4:12
professionalStuart Dootson12-Jan-09 4:12 
AnswerRe: Function not getting overloaded... Pin
Rajasekharan Vengalil12-Jan-09 5:14
Rajasekharan Vengalil12-Jan-09 5:14 
Questionnew / delete : when to delted in this regard, Pin
ptr_Electron12-Jan-09 1:55
ptr_Electron12-Jan-09 1:55 
AnswerRe: new / delete : when to delted in this regard, Pin
Cedric Moonen12-Jan-09 2:00
Cedric Moonen12-Jan-09 2:00 
ptr_Electron wrote:
When to delete ILayer is Initiated in the below case


Confused | :confused: What ? You mean you want to know how to delete the ILayer instance that was created by new ?

Well, that depends a lot of what itsSppAst is... It becomes the only owner of the pointer so it is the only one that is able to delete it. If you don't have access to this class, then you will need to store a ILayer instance in your ABC class and create itsSppAst later, after you created your ILayer instance (you will need to use new in that case).

BTW, your indentation is awfull, it took me quite some time to understand your code which is rather simple.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

AnswerRe: new / delete : when to delted in this regard, Pin
Rajasekharan Vengalil12-Jan-09 2:01
Rajasekharan Vengalil12-Jan-09 2:01 
GeneralRe: new / delete : when to delted in this regard, Pin
ptr_Electron12-Jan-09 2:10
ptr_Electron12-Jan-09 2:10 
GeneralRe: new / delete : when to delted in this regard, Pin
Cedric Moonen12-Jan-09 2:14
Cedric Moonen12-Jan-09 2:14 
GeneralRe: new / delete : when to delted in this regard, Pin
ptr_Electron12-Jan-09 2:15
ptr_Electron12-Jan-09 2:15 
GeneralRe: new / delete : when to delted in this regard, Pin
Cedric Moonen12-Jan-09 2:26
Cedric Moonen12-Jan-09 2:26 
QuestionXP or Vista style progressbar. Pin
Le@rner12-Jan-09 1:37
Le@rner12-Jan-09 1:37 
QuestionRe: XP or Vista style progressbar. Pin
David Crow12-Jan-09 3:08
David Crow12-Jan-09 3:08 
QuestionMixing managed/unmanaged in C++/CLI Pin
Jon Hulatt12-Jan-09 1:22
Jon Hulatt12-Jan-09 1:22 
NewsRe: Mixing managed/unmanaged in C++/CLI Pin
Iain Clarke, Warrior Programmer12-Jan-09 1:32
Iain Clarke, Warrior Programmer12-Jan-09 1:32 
GeneralRe: Mixing managed/unmanaged in C++/CLI Pin
Jon Hulatt12-Jan-09 1:37
Jon Hulatt12-Jan-09 1:37 
QuestionDialog box LAYOUTRTL issue [modified] Pin
Alex@9C12-Jan-09 1:13
Alex@9C12-Jan-09 1:13 
QuestionGerman ANSI/Unicode umlauts in source code [SOLVED] Pin
sashoalm12-Jan-09 0:59
sashoalm12-Jan-09 0:59 
AnswerRe: German ANSI/Unicode umlauts in source code Pin
Iain Clarke, Warrior Programmer12-Jan-09 1:31
Iain Clarke, Warrior Programmer12-Jan-09 1:31 
GeneralRe: German ANSI/Unicode umlauts in source code Pin
sashoalm12-Jan-09 4:08
sashoalm12-Jan-09 4:08 
QuestionProblems with sending UPD Packets over sendto Pin
CrazyDogg11-Jan-09 23:59
CrazyDogg11-Jan-09 23:59 
AnswerRe: Problems with sending UPD Packets over sendto Pin
Rajkumar R12-Jan-09 0:08
Rajkumar R12-Jan-09 0:08 
GeneralRe: Problems with sending UPD Packets over sendto Pin
CrazyDogg12-Jan-09 0:17
CrazyDogg12-Jan-09 0:17 

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.