The information in this article applies to:
SUMMARYThe LoadLibrary() API call sometimes fails to map a specified dynamic link library (DLL) into the address space of the calling process. The function returns a value of NULL and GetLastError() reports an error of 31 (ERROR_GEN_FAILURE). MORE INFORMATION
LoadLibrary() API fails with the ERROR_GEN_FAILURE error if the operating system loader is not able to build the import address table successfully. This error occurs if the DLL being loaded implicitly imports a function that is not exported from a dependant DLL.
Additional query words: kbDSupport
Keywords : kbDLL kbKernBase kbfaq |
Last Reviewed: December 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |