Skip to main content

Problem:

If a call is being made to a DLL created by the project, occasionally an error may occur when trying to do the call. This can be caused by improper build settings when adding the DLL and associated .cbl files to the project, or possibly due to using a project created with an older version of Net Express.

For other issues with 173 errors, please be sure your PATH environment variable is set to point to the location of the .DLL or .EXE in question. You may refer to (http://supportline.microfocus.com/mf_kb_display.asp?kbnumber=25598)

Resolution:

The problem can be solved by removing the .DLL from the project tree, and re-adding the files using appropriate settings for the project.

1) Right-click on the problem .DLL in the Project Window.

2) Select "Remove from build type"

3) Be sure the first box "This file has build dependencies" is checked, and click Delete.

4) Now drag the source file from right half of the project window, to the tree in the left half.

5) Select the appropriate file build type for the project. (GNT, INT, OBJ)

6) Right-click the file with the extension just specified and select "Package selected files" (In this case the appropriate choice is "Dynamic Link Library (DLL)")

7) Rebuild the project and the calls to the DLL should not result in a "file not found" error.

Old KB# 1600