Girovagando per internet in siti inglesi ho scoperto altre persone con il mio stesso problema che sostengono che la funzione get pixel è troppo lenta. Avreste qualcosa in alternativa a questo:

or(int t=0;t<40000;t++){



MessageBox(NULL, "Cicle 1", "Cicle", 0);

for(int X=0;X<1280;X++)
for(int Y=0;Y<800;Y++)
{

HDC hdcScreen = GetDC(0);
COLORREF BESTIO = GetPixel(hdcScreen, X, Y);
ReleaseDC(0, hdcScreen);


};
Sleep(1);};

?????????????????????????????????????????????????? ??????