PRWIN9110012: Using fputc or fgetc in Large Model DLL UAE

ID Number: Q77476

3.00

WINDOWS

buglist3.00 fixlist3.10

Summary:

PROBLEM ID: WIN9110012

SYMPTOMS

When the function fputc or fgetc is used in a Windows dynamic-link

library (DLL) created with the LDLLCEW.DLL library, the application

experiences an unrecoverable application error (UAE).

CAUSE

The functions are retrieving a near pointer from the stack when a

far pointer is required.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft C

large-memory-model DLL run-time library provided with the Windows

Software Development Kit version 3.0. This problem was corrected in

the Microsoft C/C++ Optimizing Compiler version 7.0.

Additional reference words: 3.00 7.00