Microsoft KB Archive/133027

{|
 * width="100%"|

FIX: Win32s 1.3 Fix List

 * }

Q133027

1.30 WINDOWS kbprg kbfixlist kbbuglist

-

The information in this article applies to:


 * Microsoft Win32s version 1.3

-

SYMPTOMS
The following is a list of the known bugs in Win32s version 1.25a that were fixed in Win32s version 1.3.


 * DeviceCapabilities with DC_BINS and DC_PAPERS are thunked incorrectly. The array should be left as is.


 * SearchPath and OpenFile don't work properly with OEM chars in the filename.


 * GetSystemInfo doesn't set correct ProcessorType for the Pentium.


 * FindResource returns a non-NULL handle for a nonexistent resource.


 * VirtualProtect with anything other than PAGE_NOACCESS, PAGE_READ, OR PAGE_READWRITE yields unpredictable page protections.


 * COMPAREITEMSTRUCT, DELETEITEMSTRUCT, DRAWITEMSTRUCT, AND MEASUREITEMSTRUCT incorrectly sign-extend fields.


 * GetWindowTextLength and GetWindowText incorrectly sign-extend the return value.


 * MoveFile fails on Windows for Workgroups when the source is remote and the destination is local.


 * PrintDlg GP faults if the PRINTDLG structure has an illegal size (size other than 42).


 * Loading resources may cause memory and selector leakage. The leakage occurs when the resource is loaded from a DLL.


 * FP context is corrupted when an FP exception occurs while using the FP emulator.


 * If a window class defined in one DLL uses a window function in another DLL and this DLL is unloaded before the DLL that defines the window class, a general protection (GP) fault occurs in WIN32S16.dll when you terminate the process from a debugger.


 * GetBitmapBits and SetBitmapBits return the wrong value. The return code is not converted from dx:ax to eax.


 * FindResource does not set the last error code to a proper value.


 * NLS APIs fail when AnsiCP in the [NLS] section of WIN32S.ini is set to the code page of the computer (473 on U.S. computers).


 * _tzset in CRTDLL.dll can cause a general protection (GP) fault.

In addition, there were several bugs fixed in the Windows NT FP emulator. These fixes were are included in Win32s.

STATUS
The versions in the "Symptoms" section have been fixed.