Thanks for the input, made me think a little, and i got this here put together:
#include "DarkGDK.h"
void DarkGDK (void)
{
dbLoadImage("Snejk.bmp",1); // Completely red square
dbSetCurrentBitmap(0);
dbMakeMemblockFromImage(1,1);
dbMakeBitmapFromMemblock(0,1);
dbSyncOn();
dbSyncRate(60);
int colorcheck = 0;
DWORD rgb_r = 0;
rgb_r = dbRGBR(dbPoint(2,3));
double check2 = rgb_r;
while ( LoopGDK() )
{
dbSync();
dbSetCursor(80,0);
dbPrint(check2);
}
}
And it outputs the correct amount of red-ness at that point (255). Now the next challenge will be how i should go about moving this bitmap. Because as far as i know you can't move a bitmap.