I have a function which, when called, is supposed to return TRUE if the pixel in the filename specified is black, of FALSE if white. The problem if that the function always returns false. Here's the code.
BOOL returnpixel(char* fileName,int x, int y, HWND hwnd)
{
BOOL returnValue = TRUE...