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. ATL support to existing MFC application

ATL support to existing MFC application

Scheduled Pinned Locked Moved C / C++ / MFC
c++comsysadminhelptutorial
3 Posts 3 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.
  • R Offline
    R Offline
    Ro_land
    wrote on last edited by
    #1

    Hi all ! I was assigned a task which I don't think is possible to do. What I was requested to achieve is basically the following: To cause our existing MFC (Doc/view) application to become a COM EXE server ! Is it possible at all, or am I wasting my time. If it's not possible, what approach shall I take? I used the information which appeared under the article : Article ID :175190 Last Review:June 29, 2004 Title : How to add ATL support to an MFC EXE Link : http://support.microsoft.com/default.aspx?scid=kb;EN-US;175190\[^\] Outcome so far : NOT Successful, meaning, the registration is not failing, but the server cannot be found by a client application (class not registered !) As far as I understand , the article 175190 discusses the option of embedding an "local In-process COM server" into the application, not a "remote COM EXE server". I tried everything I know, so far with no results.. Please help, Rubi

    A 1 Reply Last reply
    0
    • R Ro_land

      Hi all ! I was assigned a task which I don't think is possible to do. What I was requested to achieve is basically the following: To cause our existing MFC (Doc/view) application to become a COM EXE server ! Is it possible at all, or am I wasting my time. If it's not possible, what approach shall I take? I used the information which appeared under the article : Article ID :175190 Last Review:June 29, 2004 Title : How to add ATL support to an MFC EXE Link : http://support.microsoft.com/default.aspx?scid=kb;EN-US;175190\[^\] Outcome so far : NOT Successful, meaning, the registration is not failing, but the server cannot be found by a client application (class not registered !) As far as I understand , the article 175190 discusses the option of embedding an "local In-process COM server" into the application, not a "remote COM EXE server". I tried everything I know, so far with no results.. Please help, Rubi

      A Offline
      A Offline
      Antony M Kancidrowski
      wrote on last edited by
      #2

      I would not try to convert an existing project. More I would take the core functionality out of the existing MFC application and add it to a new COM Server project. Doing this you can then call the new COM server routines rather than the existing routines from your application to see if it behaves as expected. Ant. I'm hard, yet soft.
      I'm coloured, yet clear.
      I'm fruity and sweet.
      I'm jelly, what am I? Muse on it further, I shall return!
      - David Walliams (Little Britain)

      R 1 Reply Last reply
      0
      • A Antony M Kancidrowski

        I would not try to convert an existing project. More I would take the core functionality out of the existing MFC application and add it to a new COM Server project. Doing this you can then call the new COM server routines rather than the existing routines from your application to see if it behaves as expected. Ant. I'm hard, yet soft.
        I'm coloured, yet clear.
        I'm fruity and sweet.
        I'm jelly, what am I? Muse on it further, I shall return!
        - David Walliams (Little Britain)

        R Offline
        R Offline
        Roland Rubichi
        wrote on last edited by
        #3

        Found the bug which was causing this not to work,please go to for in depth info : http://www.codeproject.com/script/comments/forums.asp?forumid=1648&exp=0&select=986387#xx986387xx Rubi effic

        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