INF: QC/Win Tools May Require Initial Directory to Locate DLL

ID Number: Q79288

1.00

WINDOWS

Summary:

Windows applications can be added to the Tools menu in Microsoft

QuickC for Windows (QC/Win) version 1.0. If the application uses a

dynamic-link library (DLL), it may not be found unless the initial

directory is specified when the tool is added to the menu.

More Information:

Applications are added to the QC/Win Tools menu by choosing Tools from

the Options menu. When adding an application, the following must be

specified:

- The path (including the application .EXE name)

- The text you want to appear in the Tools menu

- Command-line arguments

- An initial directory

The initial directory name must have a terminating backslash. For

example:

c:\qcwin\bin\

If the application uses a dynamic-link library, the DLL must be in one

of the directories that Windows searches. The DLL search path is:

1. The current directory

2. The Windows system directory (usually C:\WINDOWS\SYSTEM)

3. The Windows default directory (usually C:\WINDOWS)

4. Directories on the MS-DOS path

5. Directories on a network search path

Some applications install their DLLs in the Windows system directory

and some install in their own directory. If the DLL is in the

application directory, you need to specify an initial directory. This

initial directory becomes the "current directory" when the application

is run. Otherwise the current directory is whatever directory QC/Win

is using.

Alternative Solutions

---------------------

- Move the DLLs to one of the directories on the Windows search

path (see the list given above).

- Put the application directory in the MS-DOS PATH statement.

Additional reference words: 1.00 qcwin