ID Number: Q80118
1.00
WINDOWS
docerr
Summary:
SYMPTOMS
There are several documentation errors in Chapter 28 of the
"Microsoft QuickC for Windows: C for Windows" manual that shipped
with Microsoft QuickC for Windows (QC/Win) version 1.0. These
errors can cause various problems if you are attempting to learn
how to create DLLs using the graphical development environment.
RESOLUTION
The problems and corrections are as follows:
1. Several code changes for the examples on pages 538 and 539:
- Replace #include WINDOWS.H with #include <WINDOWS.H>
- Replace VOID FAR PASCAL WEP with INT FAR PASCAL WEP
- Replace WEP_SYSTEMEXIT with WEP_SYSTEM_EXIT
2. Concerning the reference to extrn __acrtused:abs:
This reference no longer applies to the QC/Win environment. It
was used earlier in the SDK and C 6.0 packages to ensure linking
with the DLL start-up code. This has been built into the DLL
libraries of the QC/Win package.
3. Several instances of misspelling occur for the word WEP_SYSTEMEXIT
on page 542. The identifier should be spelled WEP_SYSTEM_EXIT.
4. Two code changes for the examples on page 543:
- CODE PRELOAD MOVEABLE DISCARDABLE
- DATA PRELOAD MOVEABLE DISCARDABLE
The preload statement is required if the DLL has a single code
and/or data segment. This is needed for the initialization
routine to be loaded into memory.
5. On pages 527 and 528, the order of directories that Windows
searches for DLLs is listed incorrectly. The order should be:
1. The current directory.
2. The Windows system directory.
3. The Windows directory.
4. Any of the directories listed in the PATH statement.
5. Any directory in the list of directories mapped in a network.
STATUS
Microsoft has confirmed this to be a problem in QC/Win version 1.0.
We are researching this problem and will post new information here
as it becomes available.
Additional reference words: 1.00