how to tell if dbmonitor is running
Posted: Thu 13 Dec 2012 21:27
environment:
delphi xe3
codesite installed and enabled
sDac 6.5.10
dbmonitor 3.0.3
I am working on a web service application that accesses data using sdac components.
during development, I have logic like this:
qryMonitor.active := debugon.
if dbmonitor is not running, I get port/socket errors :
cannot connect to server on host 'localhost'
no connection could be made becasue the targe machine actively refused it
socket error code 10061.
this error does not occur if I do not turn on monitoring, or if I have dbmonitor running.
so, how can I tell if dbmonitor is running so I can check for it before attempting to turn on the monitorind?
delphi xe3
codesite installed and enabled
sDac 6.5.10
dbmonitor 3.0.3
I am working on a web service application that accesses data using sdac components.
during development, I have logic like this:
qryMonitor.active := debugon.
if dbmonitor is not running, I get port/socket errors :
cannot connect to server on host 'localhost'
no connection could be made becasue the targe machine actively refused it
socket error code 10061.
this error does not occur if I do not turn on monitoring, or if I have dbmonitor running.
so, how can I tell if dbmonitor is running so I can check for it before attempting to turn on the monitorind?