proble in releasing the pointer
-
Hi I queried for a interface pointer in a constructor and want to use it across several functions.I need that pointer in many functions but dont know where to release it and how to do it?Can I release it in destructor of the class in which i queried and using? Please help me Thanks Pathi:( bhikshapathi_g@semanticspace.com
-
Hi I queried for a interface pointer in a constructor and want to use it across several functions.I need that pointer in many functions but dont know where to release it and how to do it?Can I release it in destructor of the class in which i queried and using? Please help me Thanks Pathi:( bhikshapathi_g@semanticspace.com
From your general description I would say releasing the interface pointer in the destructor would be sufficient.