darknecromancer
Programmer
Ok, I'm trying to get bitblt to work so I can screen capure and i have the fallowing code
HANDLE hdcScreen = CreateDC("DISPLAY", NULL, NULL, NULL);
HANDLE hdcCompatible = CreateCompatibleDC(hdcScreen);
BitBlt(hdcCompatible,0,0,VERTRES,HORZRES,hdcScreen,0,0,SRCCOPY);
and if i run that through, it runs fine but I cant figure out how to write that to a file. Any of you guys have any ideas
HANDLE hdcScreen = CreateDC("DISPLAY", NULL, NULL, NULL);
HANDLE hdcCompatible = CreateCompatibleDC(hdcScreen);
BitBlt(hdcCompatible,0,0,VERTRES,HORZRES,hdcScreen,0,0,SRCCOPY);
and if i run that through, it runs fine but I cant figure out how to write that to a file. Any of you guys have any ideas