More fun with PDMWorks API
More fun with PDMWorks API
(OP)
We are trying to find a way to use the PDMWorks API to detect whether the PDMWorks service is running or not. (All the API functions I have found seem to assume that the service is already running.) For various reasons (mainly related to data backup), we will be shutting the PDMWorks service down and restarting it once or twice a day, so it is critical for our scripts to be able to find out when the service has been restarted. I thought of using PDMWorks triggers, but the built-in triggers only apply to events within PDMWorks after it has already started.
Does anyone know of a good way to do this, or are we out of luck?
Does anyone know of a good way to do this, or are we out of luck?






RE: More fun with PDMWorks API
I've looked into doing this just to determine if SW is running. It's a bit of a pain, but it can be done. I think the whole process starts with enumerating all processes. As far as I know, there is no single call to inquire directly if a specific process or application is running.
Here's a page that might help:
<http://www.thescarms.com/vbasic/RunningProcs.asp>
http://www.EsoxRepublic.com
RE: More fun with PDMWorks API