MDI aus DLL heruas



  • Ich versuche in der DLL ein MDI-Fenster zu erzeugen.
    Leider gibt es da nur Assertions ...
    der dll-Code sieht wie folgt aus:
    MyDocTemplate2 = new CMultiDocTemplate(
    IDR_TEST_MTYPE,
    RUNTIME_CLASS(CMyDoc),
    RUNTIME_CLASS(CMyChildFrame), // custom MDI child frame
    RUNTIME_CLASS(CFormView22)
    );
    MyDocTemplate2->OpenDocumentFile(NULL);
    CFormView22 und CMyDoc unnd CMyChildFrame sind einfach abgeleitete Typen:
    class CFormView22 : public CFormView
    class CMyChildFrame : public CMDIChildWnd
    class CMyDoc : public CDocument
    Danke wenn ihr mir heflen könt...
    anthony


Anmelden zum Antworten