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
J

Johan Wade

@Johan Wade
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • COM local server
    J Johan Wade

    The local servers are running on an embedded device with Windows CE. Before release everything should be tested as good as possible but there is still a risk for crashes. The most obvious would be to implement a watchdog which would reset the device but this is not an option because of the long boot time of the operating system. Each server implements a watchdog configured to terminate the server process. This termination will be notised by the client and the client restarts the terminated server. One way to shut down servers who refuse to die is to send WM_QUIT to it. This whould probably work because this is what happen when the lock count reach zero. This solution is very ugly and I am looking for the right way to do it. There must be a standard solution for problems like this.

    COM c++ com sysadmin help tutorial

  • COM local server
    J Johan Wade

    Hello I have two COM local servers developed using ATL. The local servers have interface pointers to each other and the pointers will be released when Stop()is called from a client to each server. The client will also release its pointers to the servers and both components will die (lock count == 0). Now to my problem. If one of the components crash I have a problem to shut down the other server. The still running server will have a lock count from the allready dead server. I would be very happy if someone could give me a sugestion how to solve this. Johan

    COM c++ com sysadmin help tutorial
  • Login

  • Don't have an account? Register

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