OpenTP1 Version 7 User's Guide

[Contents][Index][Back][Next]

4.3.3 Setting the runtime library path

If you use runtime libraries other than those provided by OpenTP1, Windows, and Microsoft Visual Studio in order to use COBOL UAPs or to link databases, you must set the paths of those runtime libraries.

Organization of this subsection
(1) Setting the path
(2) Response when the user server shuts down immediately after startup

(1) Setting the path

Use the prcsvpath process service definition command or the prcpath command to specify the runtime library storage folder.

For details about the prcsvpath process service definition command, see Chapter 5. System Definitions.

For details about the prcpath command, see Chapter 7. Operation Commands.

(2) Response when the user server shuts down immediately after startup

If the user server shuts down with termination status 0x00000080 or 0xC0000135 immediately after startup, the path for the runtime library that was to be loaded by the user server during startup might not have been set correctly. Check the runtime library that was linked when the user server was created and specify in the prcsvpath process service definition command the path of the required runtime library storage folder.

If you open the user server storage folder in Explorer and double-click the EXE file that was shut down, an error dialog box might be displayed in which is shown the name of the runtime library that failed to load. Note, however, that if the runtime library storage folder is specified in the PATH environment variable, the runtime library name will not be displayed. In such a case, you can use the dumpbin command of Visual Studio to determine the name of the runtime library loaded by the EXE file. The following shows an example of using the dumpbin command to check runtime libraries:

dumpbin /DEPENDENTS %DCDIR%\aplib\basespp.exe