OpenTP1 Version 7 User's Guide
This section presents information specific to OpenTP1 for Windows that we recommend you note before you begin programming.
For the stub source file name that is specified in the stbmake command, make sure that you specify the suffix .def that indicates an RPC interface definition file.
Use the Shift JIS character encoding for the RPC interface definition file.
When an OpenTP1 UAP is executed in a single-thread environment, it must not create threads other than the main thread. If the UAP creates a thread other than the main thread (multi-thread environment), it might malfunction and terminate abnormally. Note also that, because UAPs under OpenTP1 run in a multi-thread environment through use of a DLL, you must specify msvcrt.lib as a linked runtime library when you create a UAP.
If you use code such as JNI (Java Native Interface) that creates threads, program operation cannot be guaranteed.
Do not issue a function or method that terminates a process or a thread within a service function (SPP) or service method (SPP.NET). Issuing such a function or method might result in the following:
In an environment in which Visual Studio and COBOL are both used, make sure that the environment variables for the language used for compilation are specified before the environment variables for any other language. If the environment variables for another language are specified first, unexpected linkage might result.
All Rights Reserved. Copyright (C) 2012, Hitachi, Ltd.