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
T

Tri Cuong

@Tri Cuong
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Trouble with implement Com Local Server
    T Tri Cuong

    But it doesn't mention about COM Local sever

    COM com sysadmin question

  • Trouble with implement Com Local Server
    T Tri Cuong

    I'm writing a COM server exe using CLSCTX_LOCAL_SERVER as below. 1. COM Server . Use IDL language to define a interfaceID, classID. . Call CoRegisterClassObject to register a factory object . I designed COM Server source code as below class CMyFactory : public IClassFactory { }; class CMyObj : public IUnknown { -----class XSubClass : public IMyInterface -----{ -----}m_subClass; -----friend class CMyObj; } Before starting COM Server, I call CoRegisterClassObject to register factoryObject to system. 2. COM Client . IMyInterface* pObj; . CoGetClassObject(CLSID_CoMyObj, CLSCTX_LOCAL_SERVER, NULL, IID_IClassFactory, (void **) &pFac); . pFac->CreateInstance(NULL,IID_interfaceID,(void**)&pObj); However, the result of CreateInstance calling is "E_NOINTERFACE No such interface supported". Could you please tell me the way to solve it?

    COM com sysadmin question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups