Answer the question
In order to leave comments, you need to log in
How to get the color of a pixel in an inactive game window?
I use the graphics.h library
Actually my actions
HWND test = FindWindow("MSPaintApp","Безымянный - Pain");
HDC test2 = GetDC(test);
int pixel_color = GetPixel(test2, 520, 475 );
cout << hex << pixel_color << "\n";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question