Original Post
Hi Guys, Im using VC++ 2005. I have a sub form off my main form. When I close this sub-form the object the pointer points to is deleted. How can I test to see if what the pointer points to is null or not? E.g. //E.g. I have ToolBox^ toolBox = gcnew ToolBox(); //How do I if (*toolBox == null) ... Thanks for any advice given