Wm_cap_file_set_capture_filea
Hi
Just having a bit of trouble with this code:
VB Code:
Private Sub cmdStartRecord_Click()
Call SendMessage(hwdc, WM_CAP_FILE_SET_CAPTURE_FILEA, 0, ByVal "C:\video.avi")
Call SendMessage(hWndC, WM_CAP_SEQUENCE, 0, 0&)
End Sub
I've declared everything, but it doesn't seem to work. I was hoping someone here could help me find out wats wrong. Thanks.
-types
Re: Wm_cap_file_set_capture_filea
I don't know anything about capturing video, but I noticed that you use a different hWnd for both functions. One time you use hwdc an the other time you use hWndC.
Are you sure this is correct?
Do they contain the correct window handle?
Re: Wm_cap_file_set_capture_filea
Quote:
I don't know anything about capturing video, but I noticed that you use a different hWnd for both functions.
:eek2: omg...That's just embarrassing