OK. This is a setter function in one of my classes. It's
supposed to load an xml document into an array when i call it with
the address of the xml document. When I debug i see the array but
there's no data in it.
I'm pretty sure i'm doing something just really dumb that's
probably really easy to spot... sorry - i'm new to this!
Thanks so much!
(i've included the code, and the xml file under the code so
you can see what I'm aiming at...)
Inside call back handlers the members of the class go out of
scope. You can solve this in several ways. In the code you posted
you can use a local reference to the class (the current object). In
other cases you might want to use the Delegate Class.