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. Creating a MFC "Static" Dill

Creating a MFC "Static" Dill

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
4 Posts 2 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.
  • L Offline
    L Offline
    Larry Mills Sr
    wrote on last edited by
    #1

    I have various Processes that are used in many of my programs. I want to put those Processes into "dills" so that I can load those dills when the User selects one in a program. This would illuminate the need to re-create the same processes in each program. The dills would need to contain it's own resources since they contain dialogs(the processes) and the program would not know in advance the resources. Is this possible? If so are there any tutorials on this subject using MFC? Thanks in advance.

    A C++ programming language novice, but striving to learn

    L 1 Reply Last reply
    0
    • L Larry Mills Sr

      I have various Processes that are used in many of my programs. I want to put those Processes into "dills" so that I can load those dills when the User selects one in a program. This would illuminate the need to re-create the same processes in each program. The dills would need to contain it's own resources since they contain dialogs(the processes) and the program would not know in advance the resources. Is this possible? If so are there any tutorials on this subject using MFC? Thanks in advance.

      A C++ programming language novice, but striving to learn

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Sounds like you need to develop a plug-in architecture[^]. There are several articles here on codeproject which tarket plug-ins[^]. Best Wishes, -David Delaune

      L 1 Reply Last reply
      0
      • L Lost User

        Sounds like you need to develop a plug-in architecture[^]. There are several articles here on codeproject which tarket plug-ins[^]. Best Wishes, -David Delaune

        L Offline
        L Offline
        Larry Mills Sr
        wrote on last edited by
        #3

        I checked out some DILL articles. Nowhere is it explained whether a DILL can contain it's own resources. Can someone explain whether your DILL can contain Dialogs; and if so how can this be provided for linkage in a program.? Since I don't know C#, or use the #include <windows.h> (because I use MFC exclusively), the articles you provided are useless to me. Thanks anyway.

        A C++ programming language novice, but striving to learn

        L 1 Reply Last reply
        0
        • L Larry Mills Sr

          I checked out some DILL articles. Nowhere is it explained whether a DILL can contain it's own resources. Can someone explain whether your DILL can contain Dialogs; and if so how can this be provided for linkage in a program.? Since I don't know C#, or use the #include <windows.h> (because I use MFC exclusively), the articles you provided are useless to me. Thanks anyway.

          A C++ programming language novice, but striving to learn

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Larry Mills Sr wrote:

          I checked out some DILL articles. Nowhere is it explained whether a DILL can contain it's own resources. Can someone explain whether your DILL can contain Dialogs; and if so how can this be provided for linkage in a program.?

          Absolutely, you can add dialogs to a resource DLL. In fact a DLL doesn't even need to have code, it can contain resources only. Creating a Resource-Only DLL[^] Codeproject Resource-Only DLL[^]

          Larry Mills Sr wrote:

          Since I don't know C#, or use the #include (because I use MFC exclusively), the articles you provided are useless to me. Thanks anyway.

          I should have been more specific, I will try harder in the future. Let me see if I can find a C++ plugin framework that will work with MFC using the link I provided: http://www.codeproject.com/info/search.aspx?artkw=plugin[^] Oh wow... the first link goes to a cross-platform plugin implementation: DynObj - C++ Cross Platform Plugin Objects[^] The third link goes to a Win32 implementation and it looks like its using mostly ISO standards. There are many other pages in my codeproject search, I am starting to believe that maybe you didn't even take the time to look. :( Btw, you can use the 'Advanced filter' at the top to filter out C# and other language/platform articles. Best Wishes, -David Delaune

          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