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.
