BitBlt to String or Byte???

MrTRiX
03-22-2004, 04:59 AM
I would like to do a screen capture using BitBlt then without turning it into a file make it into a string or byte array so I can compress it with zlib.

Optikal
03-22-2004, 05:02 AM
You can use the GetDIBits() API

MrTRiX
03-22-2004, 05:37 AM
You can use the GetDIBits() API

Ok cool but could you show me an example of that ive seen the call and everything but I couldnt get it to work. I probably did it wrong and dont have the code anymore but could u show me an example of BitBlt getting the Desktop and then using GetDIBits to make it a String or Byte. I would be very very appriciative if you could.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum