ang@dy4.com
June 12th, 2000, 11:30 AM
Hi,
I'm using GetDIBits to do my screen capture of size 128x128. However, I was not able to use GetDIBits fast enough to generate a continuous capture. That is, 24 frames (or capture) per second. According to my Pent200 64Ram, I get about 13 capture per second. Are there alternative to GetDIBits to caputre the screen or am I just using a slow machine.
for(;;)
{
...
GetDIBits(dcScreen.m_hDC,
(HBITMAP)(myParent- >bmp),
0,
nHeight,
(LPVOID)(pBitmapBits),
&(BitmapInfo),
DIB_RGB_COLORS);
...
}
I'm using GetDIBits to do my screen capture of size 128x128. However, I was not able to use GetDIBits fast enough to generate a continuous capture. That is, 24 frames (or capture) per second. According to my Pent200 64Ram, I get about 13 capture per second. Are there alternative to GetDIBits to caputre the screen or am I just using a slow machine.
for(;;)
{
...
GetDIBits(dcScreen.m_hDC,
(HBITMAP)(myParent- >bmp),
0,
nHeight,
(LPVOID)(pBitmapBits),
&(BitmapInfo),
DIB_RGB_COLORS);
...
}