converting singledoc to multidoc
converting singledoc to multidoc
gentlemen,
is it possible to convert the singledoc project to a multidoc project without having to derive a new multidocument template?
i understand that csingledoctemplate has to be changed to cmultidoctemplate and that the cdocument myapp:

pendocumentfile has to be modified accordingly.
has anyone written a new opendocumentfile function to handle multidocs? i have looked at the implementation in odamfcapp but this seems overkill for my purposes.
i have tried doing this by extracting code from the core mfc but i am having problems converting the m_pdb pointer to the mfc pdocument pointer.
thanks