With Net Express, to use the single threaded runtime, the following .lib file would need to be linked to the affected cobol program:
"C:\Program Files (x86)\Micro Focus\Net Express 5.1\Base\Lib\cblrtssi.lib".
In Visual COBOL this file is not present any more, so what is required?
There are two types of the imported library of the COBOL runtime system in Net Express, one is for single-threaded runtime system (CBLRTSSI.LIB) and the other multi-threaded (CBLRTSMI.LIB).
In Visual COBOL, since everything is multi-threaded, there is no single-thread imported library.
For this reason, the solution is to link CBLRTSMI.LIB.
This library can typically be found in "C:\Program Files\Micro Focus\Visual COBOL\lib" in 32-bit Windows or in "C:\Program Files (x86)\Micro Focus\Visual COBOL\lib" in 64-bit Windows, depending on where Visual COBOL is installed to.