Dialog Create Problem
-
Hi Friends, I have developed 3 MFC dll's. I am calling those in SDI application. I am using create fn to create the dialogs of dll. I placed the create code in initinstance of SDI app. The problem is strange...!! Only 2 of 3 get created other will throw an exception. I traced the code it hits at // separately create OLE controls in the dialog template if (pOccManager != NULL) { if (!SetOccDialogInfo(&occDialogInfo)) return FALSE; lpDialogTemplate = pOccManager->PreCreateDialog(&occDialogInfo, lpDialogTemplate); } (The error line is made bold) But same works with my other SDI app.Its only problem in main module.which is developed by other person(He modified the SDI to navigate to different views). Please help me to get out of this problem.....
Reagards Shiva