The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: hila123 on November 14, 2005, 04:14:53 PM

Title: CreateCompatibleBitmap question...
Post by: hila123 on November 14, 2005, 04:14:53 PM
Hi,

when i call CreateCompatibleBitmap i will get HBITMAP handle, is there a way to find out where this bitmap data is located in the program memory?

here is what i'm trying to do...

i have a client server program
server will generate a bitmap during runtime using CreateCompatibleBitmap then draw some text on the bitmap
this bitmap will then send to the client.
client will receive the bitmap then display it on a dialog box (if that possible?)...

or anyone know a better/another way to achieve the above goal?

thanks in advance...
Title: Re: CreateCompatibleBitmap question...
Post by: Tedd on November 14, 2005, 06:20:28 PM
see also: GetDIBits, SetDIBits :wink
Title: Re: CreateCompatibleBitmap question...
Post by: hila123 on November 14, 2005, 06:55:31 PM
H Teddi,

thanks for reply will check these 2 API... :U