Created On:  01 March 2012
Problem:
A Net Express application that uses Dialog System and was running fine for years is migrated over to Visual COBOL R4 for Visual Studio using the Dialog System Addpack.
Now when the applications calls the Dialog System run-time, "DSGRUN" in some cases a Run-time system error 114 will occur.
What is the cause of this?
Now when the applications calls the Dialog System run-time, "DSGRUN" in some cases a Run-time system error 114 will occur.
What is the cause of this?
Resolution:
Look at your screenset file in the Dialog System painter of Net Express.  From the Dialog System main menu select Options > Resource Files.
Make sure that your filenames are pointing to a location that actually exists. If you have moved to a new machine or placed the Visual COBOL application in a new folder then these path names may no longer be valid.
It is recommended that you place application resource files in the output folder of your Visual COBOL project and then use a relative pathname in Dialog System to specify the name in the current folder like ".\\myresource.icn" or .\\myerrors.err".
Add these files to your Visual COBOL projects and change the property "Copy to output folder" to True so that they will exist in both the DEBUG and RELEASE builds.
Make sure that your filenames are pointing to a location that actually exists. If you have moved to a new machine or placed the Visual COBOL application in a new folder then these path names may no longer be valid.
It is recommended that you place application resource files in the output folder of your Visual COBOL project and then use a relative pathname in Dialog System to specify the name in the current folder like ".\\myresource.icn" or .\\myerrors.err".
Add these files to your Visual COBOL projects and change the property "Copy to output folder" to True so that they will exist in both the DEBUG and RELEASE builds.
Incident #2557919
Old KB# 35587
        
