|
-
Aug 25th, 2006, 05:00 AM
#1
Thread Starter
Junior Member
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
-
Aug 25th, 2006, 06:17 AM
#2
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?
-
Aug 25th, 2006, 06:23 AM
#3
Thread Starter
Junior Member
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.
omg...That's just embarrassing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|