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. Global Interface Table issue

Global Interface Table issue

Scheduled Pinned Locked Moved COM
helpquestion
2 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.
  • S Offline
    S Offline
    Suchit
    wrote on last edited by
    #1

    Greetings All, I have a free threaded application with some 5 threads. In one of the threads I am creating an instance of IGlobalInterfaceTable and calling RegisterInterfaceInGlobal(..). It returns S_OK. If I unmarhsall this interface in the same thread somewhere down the line, it works properly. But when I create instance of IGlobalInterfaceTable in another thread, and call GetInterfaceFromGlobal(..), it returns me HRESULT of 0x8000FFFF which is Catastrophic failure. Can anyone help?

    G 1 Reply Last reply
    0
    • S Suchit

      Greetings All, I have a free threaded application with some 5 threads. In one of the threads I am creating an instance of IGlobalInterfaceTable and calling RegisterInterfaceInGlobal(..). It returns S_OK. If I unmarhsall this interface in the same thread somewhere down the line, it works properly. But when I create instance of IGlobalInterfaceTable in another thread, and call GetInterfaceFromGlobal(..), it returns me HRESULT of 0x8000FFFF which is Catastrophic failure. Can anyone help?

      G Offline
      G Offline
      geo_m
      wrote on last edited by
      #2

      Is your interface correctly registered in registry and does the project contain the correct marshalling information? I noticed some problems with GIT when the interface wasn't properly marshalled.

      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