Skip to main content

Thank you very much for your support, we are receiving error 173 when running a cobol application, the context is the following, we have main programs or start menus which are compiled and generate a main .exe, we create .dll which contain cobol objects to be used by the main .exe.

The main .exe is executed correctly but, when it calls an object of those contained in the .dll we receive error 173, that it did not find that object, if the invoked object is placed (the .gnt) we receive an error for the following object contained in the .dll

How can we solve the error so that it recognizes all the objects contained in the .dll (there are more than 30 objects)

Thank you very much for your instructions


#VisualCOBOL

Thank you very much for your support, we are receiving error 173 when running a cobol application, the context is the following, we have main programs or start menus which are compiled and generate a main .exe, we create .dll which contain cobol objects to be used by the main .exe.

The main .exe is executed correctly but, when it calls an object of those contained in the .dll we receive error 173, that it did not find that object, if the invoked object is placed (the .gnt) we receive an error for the following object contained in the .dll

How can we solve the error so that it recognizes all the objects contained in the .dll (there are more than 30 objects)

Thank you very much for your instructions


#VisualCOBOL

You will need to load the .dll in order to make its entry points known.

You can do this by setting a procedure-pointer to the entry of the dll-name.

working-storage section.

01 pp procedure-pointer.

procedure division.

set pp to entry "mydll.dll"