471,335 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,335 software developers and data experts.

NULL pointer in C++ .NET

I cant use the NULL constant to check a pointer (eg. say Object*) whether it
is valid or not - when I use C++ .NET.
What comes in place of NULL in the managed extension of C++
Pls Help.

Sincerely
Sanjoy Sinharoy
Jul 26 '05 #1
1 3510
The Managed C++ contant for null is NULL. It's a while since I've done any
Managed C++ (thankfully) so I can't remember if there's a header or project
setting you might have mis-tweaked.

--
Regards,

Tim Haughton

Agitek
http://agitek.co.uk
http://blogitek.com/timhaughton

"SSRoy" <SS***@discussions.microsoft.com> wrote in message
news:8D**********************************@microsof t.com...
I cant use the NULL constant to check a pointer (eg. say Object*) whether it is valid or not - when I use C++ .NET.
What comes in place of NULL in the managed extension of C++
Pls Help.

Sincerely
Sanjoy Sinharoy

Jul 26 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Dmitry D | last post: by
3 posts views Thread by sathyashrayan | last post: by
102 posts views Thread by junky_fellow | last post: by
29 posts views Thread by Jason Curl | last post: by
99 posts views Thread by Mikhail Teterin | last post: by
64 posts views Thread by yossi.kreinin | last post: by
69 posts views Thread by fieldfallow | last post: by
46 posts views Thread by lovecreatesbea... | last post: by
15 posts views Thread by khan | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.