Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!wuarchive!uunet!zephyr.ens.tek.com!uw-beaver!milton!sumax!polari!rwing!seaeast!sunbrk!Usenet From: Gary.Pianosi@sunbrk.FidoNet.Org (Gary Pianosi) Newsgroups: comp.windows.ms.programmer Subject: Re: Problem Reading Bitmaps from Clipboard (correction) Message-ID: <675518012.6@sunbrk.FidoNet> Date: 28 May 91 00:56:34 GMT Sender: Usenet@sunbrk.FidoNet.Org Lines: 18 I wrote: >In an attempt to solve my problem by side-stepping it, I tried using >the GetBitmapBits() function to copy the bitmap data to a buffer. >It seems to work (even when the bitmap handle appears to be invalid!). I take this back!!! The data returned in my buffer seems to be garbage (strings, random characters, etc.) and not bitmap data when the handle is invalid. GetBitmapBits() does however return that the correct number of bytes was read (!?!). - Gary. -- -- E-mail: garyp@csg.UWaterloo.CA Phone: (519) 888-4678 Computer Systems Group, University of Waterloo, Waterloo, Ontario, Canada * Origin: Seaeast - Fidonet<->Usenet Gateway - sunbrk (1:343/15.0)