AVICap: Capture from camera to bitmap when preview window is hidden
-
Dear all, I am having some problem to use the AVICap macros provided by Windows. I am writing an application to constantly (say 1 second) grab an image from the web camera and save it as an bitmap file. I used capFileSaveDIB() to save the image captured into the bitmap file. The program works fine when it is the active window (running at the foreground). If the application is minimized, or covered by another application, which means the preview window is invisible, then, capFileSaveDIB() will not save the current image to the file. Can anybody help me on this? Should I use capFileSaveDIB() for this? Or any setting that I have forgotten? Thanks Yong Haur:confused: :confused: :confused: :confused: :confused:
-
Dear all, I am having some problem to use the AVICap macros provided by Windows. I am writing an application to constantly (say 1 second) grab an image from the web camera and save it as an bitmap file. I used capFileSaveDIB() to save the image captured into the bitmap file. The program works fine when it is the active window (running at the foreground). If the application is minimized, or covered by another application, which means the preview window is invisible, then, capFileSaveDIB() will not save the current image to the file. Can anybody help me on this? Should I use capFileSaveDIB() for this? Or any setting that I have forgotten? Thanks Yong Haur:confused: :confused: :confused: :confused: :confused: