Chris Cranford <ch************@tkdsoftware.com> spoke thus:
The problem is i have no idea what the pointer really is to and nor do I
have any idea what the total size of the pointer is. I'm trying to
debug something for a friend and this has me stumped and I don't know if
it's even possible.
How can you have no idea what the pointer is? If it isn't a pointer
to a type you know about, then it's a void pointer. If it's a void
pointer, you 1) can't dereference it directly, and 2) can't
dereference it at all unless you figure out (preferably by reading the
code, although I guess you could static_cast randomly...) what it was
pointing to. And you can't "dump" what a pointer is pointing to
without dereferencing the pointer.
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.