Results 1 to 2 of 2

Thread: Any way to get the address of a memory DC?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    London, England
    Posts
    88

    Any way to get the address of a memory DC?

    I have looked, but I cannot find if there is any way to get the address of the memory set aside for a newly created memory Device Context (with a bitmap in it).

    I need to copy the memory into a local array to allow me to change pixel values manually and the copy it back into the original Device Context memory space. I have found that even SetPixelV is far too slow to carry out the operations at any decent speed.

    Any help would be great

  2. #2
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148
    You could look to get the bitmap bits with GetObject API call and once modified call SelectObject to select it back into the device context.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width