Microsoft KB Archive/147876

{|
 * width="100%"|

PRB: VerLanguageNameA Not Exported in Win32s

 * }

Q147876

-

The information in this article applies to:


 * Microsoft Win32s version 1.3c

-

SYMPTOMS
If you call VerLanguageName from a 32-bit application running under Win32s, you will get an Undefined link error on VerLanguageNameA in Version.dll.

CAUSE
In 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.

RESOLUTION
Under 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.

STATUS
This behavior is by design.

Additional query words: win32s gdi

Keywords : kbGDI kbOSWin32s

Issue type :

Technology : kbWin32sSearch kbWin32s130c