PRB: "Open..." Fails from the Project or File Menu in QC/Win

ID Number: Q78620

1.00

WINDOWS

Summary:

SYMPTOMS

In Microsoft QuickC for Windows (QC/Win) version 1.0, attempting to

open a file that does not exist may cause the following error

message to appear:

File xxxx does not exist. Please

check path yyyy.

The only option available is to choose the OK button to exit from

the message box. There is no option to create the file. This

happens when the Open option is chosen from either the File or

Project menu.

CAUSE

An incorrect version of the file COMMDLG.DLL can cause the above

problem to occur.

When QC/Win requests that the COMMDLG.DLL file be loaded into

memory, Microsoft Windows looks for the file first in the

\WINDOWS\SYSTEM directory and then in the \WINDOWS directory. When

QC/Win is installed, COMMDLG.DLL is copied into the \WINDOWS

directory.

Other software setup programs may install COMMDLG.DLL in the

\WINDOWS\SYSTEM directory. Because of the order in which Windows

searches for DLL files, if an older version of COMMDLG.DLL exists

in the \WINDOWS\SYSTEM directory, it will be loaded into memory,

possibly causing problems for QC/Win.

RESOLUTION

In order to avoid using an incorrect version of COMMDLG.DLL, check

the \WINDOWS and \WINDOWS\SYSTEM directories for copies of

COMMDLG.DLL. The version supplied with QC/Win version 1.0 is 79744

bytes in size and is dated 08-21-91.

Microsoft Money version 1.0 and Microsoft Publisher version 1.0

also ship with the file COMMDLG.DLL. The version of the file

supplied with these two products is 79840 bytes in size and is

dated 08-22-91. The setup programs for these two products install

the COMMDLG.DLL file in \WINDOWS\SYSTEM directory. This version of

COMMDLG.DLL works correctly with QC/Win version 1.0.

If other versions of COMMDLG.DLL are found, they should be deleted

or renamed so that Windows does not use them.

More Information:

Ami Pro, the word processor from Lotus Corporation, installs a version

of COMMDLG.DLL that has a size of 73408 bytes and a date of 06-14-91.

This version of COMMDLG.DLL causes QC/Win to exhibit the problem with

opening non-existent files. It is not known whether using the newer

version of COMMDLG.DLL that is supplied with QC/Win causes problems

with Ami Pro.

Additional reference words: create 1.00