Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Regular DLL with Doc/View architecture

Regular DLL with Doc/View architecture

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialarchitecture
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andy H
    wrote on last edited by
    #1

    Is it possible (and if so has anyone got example code of how to go about implementing) to have a document/view architecture SDI within a Regular DLL. I have created a Regular DLL that displays a CDialog but I would prefer if this had a CDocument in it etc...

    L M 2 Replies Last reply
    0
    • A Andy H

      Is it possible (and if so has anyone got example code of how to go about implementing) to have a document/view architecture SDI within a Regular DLL. I have created a Regular DLL that displays a CDialog but I would prefer if this had a CDocument in it etc...

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      If I remember correctly I did something like that years ago. Vague memory of using or even deriving CSingleDocTemplate and managing it. Perhaps also there is a problem with message routing where you need to step in and give it some help.

      1 Reply Last reply
      0
      • A Andy H

        Is it possible (and if so has anyone got example code of how to go about implementing) to have a document/view architecture SDI within a Regular DLL. I have created a Regular DLL that displays a CDialog but I would prefer if this had a CDocument in it etc...

        M Offline
        M Offline
        Mark Salsbery
        wrote on last edited by
        #3

        See Kinds of DLLs[^] Mark

        Mark Salsbery Microsoft MVP - Visual C++ "Thanks,I overlooked the docs."

        L 1 Reply Last reply
        0
        • M Mark Salsbery

          See Kinds of DLLs[^] Mark

          Mark Salsbery Microsoft MVP - Visual C++ "Thanks,I overlooked the docs."

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          Oh that's what he was asking about. :doh:

          M 1 Reply Last reply
          0
          • L led mike

            Oh that's what he was asking about. :doh:

            M Offline
            M Offline
            Mark Salsbery
            wrote on last edited by
            #5

            How do you know? I don't. Just thought I'd throw that out there. :laugh:

            Mark Salsbery Microsoft MVP - Visual C++ "Thanks,I overlooked the docs."

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups