Skip to main content

RTS Error 173

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

When running a program that makes a call to a program that is included in a dll file, for some reason it is not finding the program that is being called.

A RTS173 error message is being reported.

What is the search path for finding programs found in dll?

Resolution:

The path that Windows searches in order to locate DLL files is specified in the PATH environment variable. If the DLL is not located within one of the paths defined by this environment variable, Windows will not be able to load the DLL.

A DLL named, for example, "MyDLL.DLL", has a primary entry point of "MyDLL" that consists of a goback or exit program statement.

Included within this DLL is a second program named "MyEntry1". To gain access to "MyEntry1" it is first necessary to call "MyDLL" to expose the entry point to your second program. Then "MyEntry1" can be called.

Use the cancel verb with caution when you have DLLs consisting of multiple programs. Cancelling any one of these programs will result in all the programs being cancelled.

See Related tab above fo an example named 'EXENDLL.zip'.

Attachments:

EXENDLL.zip

Old KB# 5195

0 replies

Be the first to reply!