
Welcome to CAVICapWnd, An MFC class to encapsulate
the Video For Windows API.
Features
- The class provides a familiar MFC interface to
the VFW API. The class derives from CWnd and translates the message based VFW
API into standard C++ methods.
- All code compiles cleanly at
level 4 and is UNICODE enabled.
The enclosed zip file contains
the CAVICapWnd source code, documentation and a simple MFC SDI
app which implements the same functionality as the VFW SDK sample
"AviCap32".
Updates
V1.0 (11
October 2000)
V1.1 (16 October 2000)
- The following values have been made persistent
a) The name of the capture file
b) The capture frame rate
c) Whether audio should be captured
d) The limit capture option
e) The time limit option
f) The capture width, height and bit depth
g) The stretch option
h) The VFW device last connected to
i) The audio settings
j) The overlay and preview state
- The program auto connects if there is only one device
- Stretching the image to the client area is now
supported
- User is now prompted to hit ok when starting to capture
video
- Sample app now handles palette messages correctly
- The program brings up the connection dialog initially
if there is multiple devices installed.
V1.11 (19 December 2006)
- Updated the copyright details
- Updated the sample app to clean compile on VC 2005
- Updated the documentation to use the same style as my web site.
- Code now uses newer C++ style casts instead of C style casts.
- Removed CAVICapWnd destructor as it was unused
- Fixed a bug in CAVICapWnd::SetUserData where the wrong message was being
used.
- Reviewed all TRACE statements for correctness.
- Addition of a AVICAPWND_EXT_CLASS preprocessor macro to allow the class
to be more easily added to an extension DLL.