[win32]
loader=srvw32 -start
[wince]
loader=srvwce -start
[unix]
loader=dbdaemon -start
The command line which DP4 programs run when they want to autoload the 32 bit version of DP4.
With the Win32 version of DP4, or the 4.525 Unix and Linux version, applications can autoload DP4 in a fully configurable way. You should note the following points about auto-load in these versions of DP4:
DP4 does not auto unload on termination unless configured to do so through the use of the -noremain command tail on the DP4 server (e.g. dp4srvr.w32 or tcpw.w32).
The full configuration for the machine is autoloaded, not just the standalone database manager.
Autoload is enabled by default. To disable it set autoload=0 in [system] . The autoload runs the commands above by default. You can configure the command to be run by setting loader=Command.
For example, if you want to run DP4 as an application rather than a service on Windows NT you would set:
loader=srvw32 -load.
Or you might want a different configuration when autoloading than that used when running as a service.
loader=srvw32 -load -startup=autostart
You would provide an [AUTOSTART] section similar to the [STARTUP] section.
Although SRVW32.EXE is primarily a loader program, you should not attempt to replace it with a batch file or anything similar. SRVW32.EXE also performs the following important functions:
During startup and termination it will prevent DP4 programs from attempting to access the DP4 system at critical points where it would cause problems.
It validates the configuration as it is loaded and reports errors.
When DP4 runs as a service on NT it is the service process.
If we require you to help us diagnose a problem using the errlog program, SRVW32.EXE is required as it is responsible for piping diagnostics into errlog.
Prior to release 4.525 there was no loader program on Unix/Linux, and running without dbdaemon is still supported. However, most of the above reasons for using the loader apply equally well to the 4.525 Unix/Linux releases of DP4, and you are recommended to use the loader program.