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. COM
  4. ATL Exe server..

ATL Exe server..

Scheduled Pinned Locked Moved COM
c++sysadminhelp
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.
  • S Offline
    S Offline
    Siva Sankar Koyi
    wrote on last edited by
    #1

    Hi, I just creted the Exe component and one obect using ATL Wizard, and try to call that obects which gives just message box. But I am getting the error "No such interface supported", could any body give the resolution for this. Calling code : ITempObj *pIExeObj = NULL; hr = CoCreateInstance(CLSID_TempObj, NULL, CLSCTX_LOCAL_SERVER, IID_ITempObj,(void**)&pIExeObj); Thanks & Regards, Siva

    V M 2 Replies Last reply
    0
    • S Siva Sankar Koyi

      Hi, I just creted the Exe component and one obect using ATL Wizard, and try to call that obects which gives just message box. But I am getting the error "No such interface supported", could any body give the resolution for this. Calling code : ITempObj *pIExeObj = NULL; hr = CoCreateInstance(CLSID_TempObj, NULL, CLSCTX_LOCAL_SERVER, IID_ITempObj,(void**)&pIExeObj); Thanks & Regards, Siva

      V Offline
      V Offline
      Vibhash Jha
      wrote on last edited by
      #2

      what's the exact error and where??? may be CLSID_TempObj --> CLSID_ITempObj cheers vibhash

      1 Reply Last reply
      0
      • S Siva Sankar Koyi

        Hi, I just creted the Exe component and one obect using ATL Wizard, and try to call that obects which gives just message box. But I am getting the error "No such interface supported", could any body give the resolution for this. Calling code : ITempObj *pIExeObj = NULL; hr = CoCreateInstance(CLSID_TempObj, NULL, CLSCTX_LOCAL_SERVER, IID_ITempObj,(void**)&pIExeObj); Thanks & Regards, Siva

        M Offline
        M Offline
        morenz
        wrote on last edited by
        #3

        Hi, Did you make your interface visible to the client? Did you register the server? You may need a proxy-stub DLL, that is present on server side (but must be built and registered manually), and must be copied (the DLL only) and registered also on client side. Try it and make me know. Regards, Morenz.

        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