Page 2 of 2

Re: New/Delete...New[]/Delete[]

Posted: July 10th, 2017, 6:01 am
by albinopapa
Ha, wish I new that way back when I used new/delete. I grew so tired of typing those three lines of code for all my dynamically allocated pointers. I guess it's only necessary for the COM stuff since you have to call a Release function on the pointer before setting to null.