The information in this article applies to:
SYMPTOMSAfter an implicitly loaded dynamic-link library (DLL) attempts to create a window in its initialization procedure, a Fatal Exit 0x0019 occurs. CAUSE
When an application is loaded, Windows loads any DLLs that are implicitly
referenced by that application prior to initializing the application's
task. Part of task initialization is creating a message queue for that
application. By the time the application's WinMain() function is called,
the message queue has been created.
RESOLUTIONIf the DLL must display a message during initialization, it must either be explicitly loaded from the application using LoadLibrary() or the DLL should export a function that can be called from the WinMain() procedure of the application. By the time WinMain() is executed, the window queue has been created. MORE INFORMATIONIn Microsoft Windows, a network driver is the only DLL that can create a window during initialization. The network driver is loaded after the first application task has been initialized (that is, the shell), and any dialog box displayed by a network driver uses the message queue of the shell application. Additional query words: 3.00 3.10
Keywords : kb16bitonly |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |