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. Dialogs in DLL's

Dialogs in DLL's

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++
3 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.
  • M Offline
    M Offline
    meinhard_risch
    wrote on last edited by
    #1

    Hallo to all, is there anyone who works with Dialogs and modless windows in DLL over MFC? How can I handle the right resources? What kind of DLL is to use? If it is possible, I want to use a Win32-Project with MFC as Console-App. Is it possible? Thank you Meinhard :zzz:

    _ 1 Reply Last reply
    0
    • M meinhard_risch

      Hallo to all, is there anyone who works with Dialogs and modless windows in DLL over MFC? How can I handle the right resources? What kind of DLL is to use? If it is possible, I want to use a Win32-Project with MFC as Console-App. Is it possible? Thank you Meinhard :zzz:

      _ Offline
      _ Offline
      _anil_
      wrote on last edited by
      #2

      Hi What I got from your question is that you want to develop a DLL which supports Dialog box and it can be used in console and other application. If it is so then it is possible. Use class wizard (MFC AppWizard (dll) ) to create your DLL. you can create dialog bos and all you want like MFC applicatin, and also you can use this DLL in console application. Regards Anil

      M 1 Reply Last reply
      0
      • _ _anil_

        Hi What I got from your question is that you want to develop a DLL which supports Dialog box and it can be used in console and other application. If it is so then it is possible. Use class wizard (MFC AppWizard (dll) ) to create your DLL. you can create dialog bos and all you want like MFC applicatin, and also you can use this DLL in console application. Regards Anil

        M Offline
        M Offline
        meinhard_risch
        wrote on last edited by
        #3

        Hi Anil, I tried to do so, but if I want to acces it from the app like CDialogXX m_dialogXX; m_diologXX.create(ID_SOURCE, NULL); // ID_Source is a resource of the DLL // but #defined in both identical. the AFX_FindResource()-Function will abort. TRhats my problem. Thank you for helping Regards Meinhard

        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