Results 1 to 4 of 4

Thread: how do i copy desktop image into byte array

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    192

    how do i copy desktop image into byte array

    i made a bmp file reader, and i know lots about 1d array processing, i just have no clue as to how to get the pointer to the first desktop image byte.

  2. #2
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    What do you mean by 'first Desktop Image byte'?

    Did you save the screen to a .BMP?

    The only way you can access Desktop graphics directly is through the creation of a DC and associating with the desktop. Is this what you mean? I"m confused.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    192
    first desktop image byte = the blue byte of the first desktop pixel. maybe i am missing something obvious.
    Last edited by dafhi; Aug 2nd, 2002 at 06:12 PM.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    192

    solution found

    I was able to bitblt the desktop into Form image and send to array with GetBitmapBits

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