Class B : public A { public: bool f1(); bool f2(); UINT8* rawmem; }; B objb; bool B::f1() { rawmem = (UINT8*) new [200]; return true; } bool B::f2() { ECODE ec; ... if(ec = (objb.rawmem) != EC_NO_ERR) { SaveToLog(ERR_MSG, " Objb creation failed 0x%x",ec); return false; } .... return true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)