Skip to main content

Problem:

The application runs fine in Net Express IDE or Net Express 32-bit Command Prompt, but it fails to run from the deployment machine and reports the following error:

"The application was unable to start correctly (0xc000007b). Click OK to close the application."

Resolution:

The above error is usually a result of running a 32-bit COBOL program against a 64-bit COBOL runtime.

A 32-bit COBOL application needs CBLRTSS.DLL (for single-thread) or CBLRTSM.DLL (for multi-thread) from C:\\Program Files (x86)\\Micro Focus\\Server 5.1\\Base\\Bin.

If you do not have Server 5.1 installed, then make sure the runtime files, such as CBLRTSS.DLL and CBLRTSM.DLL are taken from either:

  • C:\\Program Files (x86)\\Micro Focus\\Server 5.1\\Base\\Bin
  • C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\Bin

Not from:

  • C:\\Program Files (x86)\\Micro Focus\\Server 5.1\\Base\\Bin\\WIN64
  • C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\Bin\\WIN64