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

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.

  • 0

    Found solution put Visual Cobol directory in PATH system variables.

  • 0   in reply to 

    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.

    Chris Glazier
    Rocket Software - Principal Technical Support Specialist
    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button