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. ATL / WTL / STL
  4. ATL object in MFC project

ATL object in MFC project

Scheduled Pinned Locked Moved ATL / WTL / STL
c++questioncomsysadminhelp
4 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.
  • A Offline
    A Offline
    Abebe
    wrote on last edited by
    #1

    I hope you people can perhaps help me out here. I've inserted a ATL object into a MFC project and now i want to access that object through a console application that sets certain values. My question is: What kind of ATL/COM server is created when inserting an ATL object into a MFC project. Is it a ATL Server (Exe)? or Dll? I can't find the object in the VC++ COM/DCOM object viewer, nor is the type library registered? How can i access this interface through COM? Any help would be appriciated. P.S. if the question is not clear, please specify which part, so can still hope for an answer.

    V M 2 Replies Last reply
    0
    • A Abebe

      I hope you people can perhaps help me out here. I've inserted a ATL object into a MFC project and now i want to access that object through a console application that sets certain values. My question is: What kind of ATL/COM server is created when inserting an ATL object into a MFC project. Is it a ATL Server (Exe)? or Dll? I can't find the object in the VC++ COM/DCOM object viewer, nor is the type library registered? How can i access this interface through COM? Any help would be appriciated. P.S. if the question is not clear, please specify which part, so can still hope for an answer.

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      A COM server under ATL can be in-proc, local, or remote given that it is non-ActiveX. An ActiveX server must be in-proc. Is the COM server registered? Kuphryn

      A 1 Reply Last reply
      0
      • V valikac

        A COM server under ATL can be in-proc, local, or remote given that it is non-ActiveX. An ActiveX server must be in-proc. Is the COM server registered? Kuphryn

        A Offline
        A Offline
        Abebe
        wrote on last edited by
        #3

        Well yeah...i know that, but what kind of COM Server is it when i add it to a MFC project. I think, by the way, that's it's custom to use automation support for a MFC project, if you want to have server capibilites, but i'm still looking into that.

        1 Reply Last reply
        0
        • A Abebe

          I hope you people can perhaps help me out here. I've inserted a ATL object into a MFC project and now i want to access that object through a console application that sets certain values. My question is: What kind of ATL/COM server is created when inserting an ATL object into a MFC project. Is it a ATL Server (Exe)? or Dll? I can't find the object in the VC++ COM/DCOM object viewer, nor is the type library registered? How can i access this interface through COM? Any help would be appriciated. P.S. if the question is not clear, please specify which part, so can still hope for an answer.

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

          Abebe wrote: What kind of ATL/COM server is created when inserting an ATL object into a MFC project The type of COM server has nothing to do with ATL or MFC. If it's a DLL, then it's in-proc. If it's an EXE, it's an out-of-proc server. --Mike-- Latest blog entry: *drool* (Alyson) [May 10] Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber "You have Erica on the brain" - Jon Sagara to me

          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