NULL problem

I'm geting very strange fail after I creat a linked list and because of that my if sequence fail to recognize the "NULL"

it show this
http://www.israup.net/images/917ac28d2dbbdad682b940ea6fec0666.png

The reall NULL is like in this pic
http://www.israup.net/images/9d5f7c0fdfbe620ede26685e2666b0b0.png

;(
why it fail to put the NULL ?

thanks for your help
Last edited on
NULL does not have to be 0x0000, NULL is just supposed to be an area where if you try to access it it will give you an error. I believe VC++ uses the 0xCDCD to help the OS know that it was a program that was being debugged that caused the error.
Is there any way to put NULL insted this OxCDCD ???
VB++ is, as the name indicates, a knock off of C++ so there should be a preprocessor equal to typedef or #define. Alternativley you could write up a header to define your error codes for you.
Why do you care? You don't have to do anything special in your code to deal with it. It's just a debug mode thing for helping you find errors.
Topic archived. No new replies allowed.