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. Adding ATL Support to MFC DLL

Adding ATL Support to MFC DLL

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
5 Posts 4 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
    a_kiani
    wrote on last edited by
    #1

    Hi dear friends, I want to add ATL support to MFC DLL, Can you help me?

    M T 2 Replies Last reply
    0
    • A a_kiani

      Hi dear friends, I want to add ATL support to MFC DLL, Can you help me?

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      It involves adding a global _Module variable and initializing it properly. If you make a dummy DLL project with the AppWizard, and enable MFC and ATL support, you can see how the ATL part is initialized. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

      A 1 Reply Last reply
      0
      • A a_kiani

        Hi dear friends, I want to add ATL support to MFC DLL, Can you help me?

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        a_kiani wrote:

        I want to add ATL support to MFC DLL,

        Could you tell me which ATL class you intended to use in MFC dll.!

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV

        Z 1 Reply Last reply
        0
        • T ThatsAlok

          a_kiani wrote:

          I want to add ATL support to MFC DLL,

          Could you tell me which ATL class you intended to use in MFC dll.!

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV

          Z Offline
          Z Offline
          zahedeh
          wrote on last edited by
          #4

          Hi Dear Friend, Thanks for your attention. I want to add simple ATL object to my MFC DLL,

          1 Reply Last reply
          0
          • M Michael Dunn

            It involves adding a global _Module variable and initializing it properly. If you make a dummy DLL project with the AppWizard, and enable MFC and ATL support, you can see how the ATL part is initialized. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

            A Offline
            A Offline
            a_kiani
            wrote on last edited by
            #5

            Hi, Thanks for your reply. I meant adding ATL support to an MFC extension DLL. You know that in VC++ 6.0 (and also later) you can not add ATL support to MFC extension DLLs but you can add this support to regular DLLs. Knowing this, can I add ATL support to MFC extension DLLs in the way you mentioned.

            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