Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Error 173, How can i fix it?

$
0
0

This error simply means that the program name in the call statement, cannot be found.

It looks like you are trying to call a program called IncCl.

Is this program located in a different project that the calling program?

Is this the name of the .dll to call or a name of an entry point within a .dll?

Is this a managed project or a native project?

If it is in a different project then you most likely have to tell it where to find it because by default the output folders of different projects are relative to the project itseld which means the output folder for the calling project is different than the output folder of the project containing the program you are trying to call.

You can remedy this by adding a reference to the .dll that you are trying to call if it is a native project or adding a reference to the project that contains the program to be called if this is a managed project.

Make sure that you set the Copy Local property for the file to true.

You can also add the location of the program to be called to the PATH which can be set at the system level or within an app.config file in the main program's project.

If this is the name of an entry point within a .dll but is not the actual name of the .dll then you will have to load the .dll first in order to make the entry point visible.

You can do this by either calling the main entry point of the .dll to load it or by setting a procedure-pointer to entry of the .dll name.

01 pp procedure-pointer.

  set pp to entry "mydllname"

You might want to take a look at the tutorial here which covers this topic in detail:


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>