Microsoft KB Archive/106078

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:13, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q106078 to Microsoft KB Archive/106078 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

FIX: Invalid HGDIOBJ Error When Passing Data of CF_DIB Format PSS ID Number: Q106078 Article last modified on 05-10-1994

3.10

WINDOWS

The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) for Windows version 3.1

SYMPTOMS

When trying to pass data of CF_DIB format between two DDEML (Dynamic Data Exchange Management Library) applications, the debugging version of Windows reports the following error message:

err SERVER->DDEML DELETEOBJECT+C: Invalid HGDIOBJ: 0x0028

CAUSE

When done processing the data, DDEML tries to call DeleteObject() for data of the following types:

CF_BITMAP CF_DSPBITMAP CF_DIB

The debugging version of Windows does not recognize device-independent bitmaps (DIBs) as valid GDI objects, and therefore reports the “Invalid HDGIOBJ” error message.

STATUS

Microsoft has confirmed this to be a problem with the version of DDEML.DLL that shipped with Windows 3.1. This problem has been corrected in the DDEML version that shipped with Windows for Workgroups.

Additional reference words: 3.10 win31 GDI object WFW KBCategory: Prg KBSubcategory: UsrDde

=================================================================

Copyright Microsoft Corporation 1994.