run_once

[TRMW]
run_once=0

Normally specified in individual program sections only.

From 4.620 it is possible to arrange that only one instance of particular DP4 executables should be allowed to run at a time. This facility is most likely to be useful on Pocket PC 2002, where clicking on the "close" button of an application does not actually close it but only minimises it. Restoring an application is not easy for the user on Pocket PC, and many applications automatically restore a previous instance and exit when the user tries to run a second instance. DP4 tests for a previous instance of the application by making the main window class for an application the full pathname of the application. When an application starts the DP4 terminal manager looks for an existing window of the same class. This setting is available on all Win32 platforms, not just Windows CE.

The run_once setting has three possible values: