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. How to get notified about the out-of-process server crashed ?

How to get notified about the out-of-process server crashed ?

Scheduled Pinned Locked Moved COM
helpcomsysadmintutorialquestion
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.
  • V Offline
    V Offline
    vipsy
    wrote on last edited by
    #1

    Hi all, could anybody advise me a reading or help me to solve the problem: How to COM client to get known about the server it uses crashed without polling on some interface method of this server waiting for error ? I mean, is there some back notification mechanism ? Best regards, Vipsy

    D 1 Reply Last reply
    0
    • V vipsy

      Hi all, could anybody advise me a reading or help me to solve the problem: How to COM client to get known about the server it uses crashed without polling on some interface method of this server waiting for error ? I mean, is there some back notification mechanism ? Best regards, Vipsy

      D Offline
      D Offline
      Dudi Avramov
      wrote on last edited by
      #2

      If you create the server process, then you have its process's handle. Therefore, create a worker thread that waits on the handle: WaitForSingleObject(...). If you didn't create that process, then you can get the process handle by using my tool: How to get handle to any running process by its name Goodluck, Dudi

      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