Skip to main content
GameDev.net gamedev.net
🔒 Locked

[.net] Dereferencing Managed Pointer

Started by Cacks Aug 4, 2006 at 9:12 AM 1 replies 1.3k views
Original Post
Cacks
Cacks
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
Reject the basic asumption of civialisation especially the importance of material possessions

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.