The information in this article applies to:
SYMPTOMS
In Win32, saving or loading a bitmap in .dib file format is basically the
same as in Win16. However, care must be taken in DWORD alignment,
especially on the MIPS platform.
CAUSE
A non-DWORD aligned actual parameter was passed to a function such as
GetDIBits().
RESOLUTIONTo resolve this problem, copy the data in the structure over to a DWORD- aligned memory and pass the pointer to the latter structure to the function instead. See the sample code LOADBMP.C for detail. STATUSThis behavior is by design. MORE INFORMATIONThe is a sample to illustrates this process. Refer to the LOADBMP.C file in the MANDEL sample that comes with the Win32 SDK. Additional query words: 3.10
Keywords : kbNTOS350 kbNTOS351 kbSDKWin32 kbDSupport |
Last Reviewed: July 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |