November 29th, 2012, 01:08 PM
What to do with OnNewDocument
This may be a very newbie question.
I got a program from somebody. He had its initialization to run his program but never bothered to save the data for later use. Now I wanted to add the New, Open, Save, and Close to it, so I add OnNewDocument ahead of his program. It crashed every time I ran it.
Shall I include his initialization in the OnNewDocument? If I can not separate the initialization part from his code, e.g., they come in as dll, what shall do?
Thanks in advance
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!