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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to export dialog class from dll, and ...?

how to export dialog class from dll, and ...?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
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
    Martial Spirit
    wrote on last edited by
    #1

    I want to export a dialog class from a dll, by using this dialog class, I could create model or modeless dialog in my main project. Then I need to send messages to mainwnd from the dialog class exported from the already created dll, who can tell me how, or give me some ideas. Thanks very much. Best Regards

    M A 2 Replies Last reply
    0
    • M Martial Spirit

      I want to export a dialog class from a dll, by using this dialog class, I could create model or modeless dialog in my main project. Then I need to send messages to mainwnd from the dialog class exported from the already created dll, who can tell me how, or give me some ideas. Thanks very much. Best Regards

      M Offline
      M Offline
      Martial Spirit
      wrote on last edited by
      #2

      Hmm, It seems this question is too hard to answer, Is it possible to send message to main program's window? Best Regards

      1 Reply Last reply
      0
      • M Martial Spirit

        I want to export a dialog class from a dll, by using this dialog class, I could create model or modeless dialog in my main project. Then I need to send messages to mainwnd from the dialog class exported from the already created dll, who can tell me how, or give me some ideas. Thanks very much. Best Regards

        A Offline
        A Offline
        Alexander M
        wrote on last edited by
        #3

        class __declspec( dllexport ) ... for the DLL class __declspec( dllimport ) ... for the App. Further questions? Don't try it, just do it! ;-)

        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