## Printer Device Driver

[prev][next][parent][TOC]

### Locating, Preloading, and Loading Test-Case DLLs

Each test case DLL passes a list of its test cases to PTT when PTT initializes the DLL after loading. A test-case index file associates each test-case name with the DLL that contains it. When duplicate test cases are encountered while loading DLLs and test-case index files, only the first instance of a test case is retained.

PTT locates the test cases using the following sequence:

1.DLLs specified using the -T command-line option are preloaded during PTT startup. Preloaded DLLs remain resident for the duration of the PTT session .

The -T command-line option specifies a search pattern for locating the test -case DLLs to be preloaded. The -T option value can contain global file- name characters (wildcards) in the file name. Following is an example of the command used to preload DLLs:

    Preload all DLLs in the PTT\DLL directory on the current drive.

       PTT -T\PTT\DLL\*.DLL

The -T command-line option can be specified multiple times (on the command line) with different paths to the DLLs.

2.At this point, if no test cases have been identified to PTT, PTT attempts to preload all the test-case DLLs it can locate using a *.DLL search pattern. This searches the current directory.

3.If PTT fails to locate any test-case DLLs in the current directory, a message to that effect is issued.

An OK check box in the informational window permits the user to continue bringing up PTT.