I have discovered the problem causing my
"Object reference not set to an instance of an object"
error.
It appears after debugging through the watch window and disassembler code that the C macros my code is calling is wiping out the memory of the object I send to the macro. So, when I come back from the macro, the object is no longer alive.
My question is this -- does anybody know about problems related to Mfc C++ and C Macros???
Thanks in advance!
"Object reference not set to an instance of an object"
error.
It appears after debugging through the watch window and disassembler code that the C macros my code is calling is wiping out the memory of the object I send to the macro. So, when I come back from the macro, the object is no longer alive.
My question is this -- does anybody know about problems related to Mfc C++ and C Macros???
Thanks in advance!