Where is the address of the total screen, these which hi see.

Started by VICTORIANOROMAN, April 17, 2005, 04:17:45 PM

Previous topic - Next topic

VICTORIANOROMAN

Good morning

Where is the address of the total screen, these which hi see.
Hi can to read pixel colors but at the screen use only. How hi can to do this out my window.

Thank you.   

MichaelW

Hi Victor,

If you are asking for the address of the actual display buffer, under Windows it is not directly accessible. But you can generally access an emulated display buffer from a DOS program running under Windows.
eschew obfuscation

mariø

you can use GetPixel API (gdi32) to get any pixel of the screen.

thomasantony

Likewise use SetPixel to draw a pixel. But these functions are awfully slow AFAIK

Thomas :U
There are 10 types of people in the world. Those who understand binary and those who don't.


Programmer's Directory. Submit for free