Hi there, does anyone have an idea on how I should go about accessing one document from within another? My application can only have 2 documents open at any one time. I have tried declaring a CDocTemplate object and initializing it with the GetDocTemplate() function. I then used the GetFirstDocPosition() and GetNextDoc() functions to access the other document. Mydocument class is "derived" from CDocument and I seem to have no access to the variables I created within it.
Is this because it is not itself an instance of CDocument. Does anyone have any ideas on how I get around that?