Skip to main content

Getting "The code execution cannot proceed because cblrtsm.dll was not found. Reinstalling the program may fix this problem. "

  • January 20, 2024
  • 2 replies
  • 0 views

I have built a solution but when I try to run it outside of Visual Studio I get the error.

Windows 11

Visual Studio Community 2022 Build 17.8.5

Visual Cobol 9.0 Personal Edition

Console Application.

2 replies

  • Author
  • Rocketeer
  • 19312 replies
  • January 20, 2024

I have built a solution but when I try to run it outside of Visual Studio I get the error.

Windows 11

Visual Studio Community 2022 Build 17.8.5

Visual Cobol 9.0 Personal Edition

Console Application.

Found solution put Visual Cobol directory in PATH system variables.


Chris Glazier
Forum|alt.badge.img+2
  • Moderator
  • 3697 replies
  • January 20, 2024

Found solution put Visual Cobol directory in PATH system variables.

If you are building the application as an executable you could also change the Run-time Model option to Dynamic Link on the COBOL Link page of the project properties. This will cause the application to look in the Registry to discover the location of the Visual COBOL product.

If you are running from a command prompt you could open up a Visual COBOL command prompt from the Visual COBOL group on the Start menu instead and then the Visual COBOL environment is setup automatically.