Path: utzoo!attcan!uunet!cs.utexas.edu!usc!ucsd!ucsdhub!btree!eskin From: eskin@btree.uucp (Michael Eskin) Newsgroups: comp.windows.ms Subject: Bitmaps under Windows Keywords: BLT Bitmap CopyBits Help! Message-ID: <142@btree.uucp> Date: 27 Feb 90 18:16:32 GMT Organization: Brooktree Corp., San Diego Lines: 19 We are in the process of porting some Macintosh code to Windows and are having some trouble with bitmaps. On the Macintosh, I an able to setup a bitmap that points to a particular address in memory and then BLT to or from that bitmap. In the application we are writing, a buffer containing bitmap data, and the organization of that data are being passed to a routine that wants to BLT that data either to another location in memory or to a window. Is it possible to create a device context for the source bitmap and then associate the buffer memory with that context without having Windows allocate the bits when the device context is created? The application that we are writing is designed to be platform independent until the BLT, so there really isn't a concept of a device context for Windows until the BLT routine is called. We have been fighting with this problem for a few months without much luck so any help would be greatly appreciated! Michael Eskin Brooktree Imaging SBU (619) 535-3476