I included <vfw.h> header after including <windows.h>, and I also included the vfw32.lib library file. Any ideas why I'm getting the following compile errors?
1>c:\program files\microsoft sdks\windows\v6.0\include\vfw.h(3551) : error C2059: syntax error : 'constant'
1>c:\program files\microsoft sdks\windows\v6.0\include\vfw.h(3551) : error C2238: unexpected token(s) preceding ';'
Both errors occurs on the line shown below:
typedef struct tagCapStatus {
UINT uiImageWidth; // Width of the image
UINT uiImageHeight; // Height of the image
BOOL fLiveWindow; // Now Previewing video?
BOOL fOverlayWindow; // Now Overlaying video?
BOOL fScale; // Scale image to client?
POINT ptScroll; // <-----Here // Scroll position