Signing an Exit in Windows

In Windows, you can use the Configuration program to sign either the default exit or a user-supplied exit, although you may also use the pr0sign program to sign either exit.

Note: To use Optim™, you must sign an exit for each installation of Optim on a Windows workstation or server. This is also true if you installed multiple copies of Optim on a single machine. Moreover, if you copy a signed exit from one installation to another, you must sign the exit again at the target installation.

Signing an Exit during Configuration

To sign an exit in Windows, you must run the Optim Configuration program. You also must run the Configuration program to switch from using the default exit to a user-supplied exit (or vice versa).

When you install Optim, you can launch the Configuration program and display the dialog used to sign an exit by selecting the Launch Optim configuration check box on the Install Complete dialog.

Before you run the Configuration program, confirm that no other Optim processes are running; if other processes are running, shut them down or wait for them to finish before you run the Configuration program.

If you want to sign a user-supplied exit, you must compile and create the load library opmexit.dll. You must then copy the DLL to the rt/bin directory before you run the Configuration program.
Note: If you use the Configuration program to sign a user-supplied exit, Optim will immediately call that exit to authorize all future requests. This means that the new exit could theoretically prohibit the current user from executing any other requests, such as running the Configuration program, if that user does not have permission to do so in the new exit.

Each time you execute the Configuration program, it checks for the existence of a signed exit. If one is not found, the Sign Optim Exit dialog displays, and you must sign either the default Optim exit or a user-supplied exit to use Optim. (See The Sign Optim Exit Dialog for further information.)

Sign Optim Exit dialog

If you click Cancel without signing an exit, Optim displays a warning message and the Configuration program terminates.

Note: If you did not previously provide a company Name and ID, the Specify Company Name dialog will appear before the Sign Optim Exit dialog. See Specifying a Company Name and ID for more information.


Feedback