Yes, I thought of this.  However the task list from the API library
only returns tasks with open windows.  The ActiveX server I am using
runs windowless.  I actually went ahead and built myself a CIN from
code I found on msdn (KILL.C) which kills a process by name.  It seems
to be doing the job.  The only complication is that there can be
multiple instances of the server at any given time.  Just because one
instance doesn't shut down properly does not mean that the others will
not.  Obviously its preferable to shut them down the proper way, so I
have to wait for all instances to attempt shutdown and then kill any
which remain.  Its no big deal, but I was hoping there was some way to
identify the specific instance from the refnum in LV.

Reply via email to