PRB: VerLanguageNameA() Not Exported in Win32sLast reviewed: March 6, 1996Article ID: Q147876 |
The information in this article applies to:
SYMPTOMSIf you call VerLanguageName() from a 32-bit application running under Win32s, you will get an Undefined link error on VerLanguageNameA in Version.dll.
CAUSEIn Win32s, Version.dll does not export this function. In Windows NT and Windows 95, VerLanguageNameA is exported in both Version.dll and Kernel32.dll. In Windows NT, Version.dll forwards the export of VerLanguageName() to the export in Kernel32.dll. In Windows 95, Version.dll separately calls the function in Kernel32.dll.
RESOLUTIONUnder Win32s, you can still use the VerLanguageName() function from your application because the function exists in Kernel32.dll. You will need to specify Kernel32.lib before Version.lib on your link line. Then your application will use the function from Kernel32.dll.
STATUSThis behavior is by design.
|
Additional reference words: 1.30c win32s gdi
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |