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. Add MFC support to ATL COM DLL project

Add MFC support to ATL COM DLL project

Scheduled Pinned Locked Moved C / C++ / MFC
c++questioncom
6 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.
  • J Offline
    J Offline
    john5632
    wrote on last edited by
    #1

    Hi, I am writing a COM component using ATL. I am willing to add some dialog boxes and some functionality from MFC. How can I add MFC support?

    L 1 Reply Last reply
    0
    • J john5632

      Hi, I am writing a COM component using ATL. I am willing to add some dialog boxes and some functionality from MFC. How can I add MFC support?

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

      See http://msdn.microsoft.com/en-us/library/k851ext3.aspx[^].

      J 1 Reply Last reply
      0
      • L Lost User

        See http://msdn.microsoft.com/en-us/library/k851ext3.aspx[^].

        J Offline
        J Offline
        john5632
        wrote on last edited by
        #3

        there is not any link to do so .. plz guide to resolve the issue

        L 1 Reply Last reply
        0
        • J john5632

          there is not any link to do so .. plz guide to resolve the issue

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

          john5632 wrote:

          there is not any link to do so plz guide to resolve the issue

          To resolve what issue? All you have said is that you are interested in using MFC with COM. I provided a link to MSDN where the subject is covered. If that does not help then try searching for a more specific item, or asking a more specific question.

          J 1 Reply Last reply
          0
          • L Lost User

            john5632 wrote:

            there is not any link to do so plz guide to resolve the issue

            To resolve what issue? All you have said is that you are interested in using MFC with COM. I provided a link to MSDN where the subject is covered. If that does not help then try searching for a more specific item, or asking a more specific question.

            J Offline
            J Offline
            john5632
            wrote on last edited by
            #5

            I followed the steps defined in THIS ARTICLEe. Now the problem is that I have commented dllmain function which is entry point of dll Now the overridden function Ininstance and ExitInstanced is not getting called.

            L 1 Reply Last reply
            0
            • J john5632

              I followed the steps defined in THIS ARTICLEe. Now the problem is that I have commented dllmain function which is entry point of dll Now the overridden function Ininstance and ExitInstanced is not getting called.

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

              I have no way of checking whether that article is correct or not, I suggest you try some feedback to Microsoft.

              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