You need to use a service wrapper to run Mercury/32 as a service. I use NT Wrapper to do this since it allows me to run the service as a specific user and still interact with the desktop. The NT Wrapper allows standard Win32 applications or scripts to be run as a Windows NT/2000/XP/2003 Service.
Features:
· Easy configuration thru a GUI and simple INI files.
· Prioritization of sub-processes.
· Custom environments.
· CPU binding
· Redirecting of Stdout/Stderr to file
· Logging to the event log and to disk.
· The capability to run multiple applications in a
single NT Wrapper service instance.
· Monitoring of a service in the sys-tray.
http://www.duodata.de/ntwrapper/