EXClass *pcClass = new EXClass (); ................ ................ if (pcClass) { delete pcClass ; pcClass = NULL; } // Iam deleting class pointer here. ............... ............... if (pcClass) // pcClass is having 0xfeeefeee and going to if and crashing here { // perform some action } else { return; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)