H
Hilary Zhang
Hi,
I have a headache with my program, which is a real-time graphic program
written in VC++ 6.0. I often get an error of "access violation" when run in
release mode. But if I use debug mode, it seldom happens since the debug
mode is much slower than the release mode and the possible bug won't show
up. I think it may be problem with my usage of pointers. I just wonder is
there a way to validate a pointer, when it is 0xcdcdcd or 0xffffffff instead
of NULL(0x000000).
Thanks in advance.
Hilary
I have a headache with my program, which is a real-time graphic program
written in VC++ 6.0. I often get an error of "access violation" when run in
release mode. But if I use debug mode, it seldom happens since the debug
mode is much slower than the release mode and the possible bug won't show
up. I think it may be problem with my usage of pointers. I just wonder is
there a way to validate a pointer, when it is 0xcdcdcd or 0xffffffff instead
of NULL(0x000000).
Thanks in advance.
Hilary