Results 1 to 3 of 3

Thread: Wm_cap_file_set_capture_filea

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2006
    Posts
    17

    Wm_cap_file_set_capture_filea

    Hi

    Just having a bit of trouble with this code:

    VB Code:
    1. Private Sub cmdStartRecord_Click()
    2. Call SendMessage(hwdc, WM_CAP_FILE_SET_CAPTURE_FILEA, 0, ByVal "C:\video.avi")
    3. Call SendMessage(hWndC, WM_CAP_SEQUENCE, 0, 0&)
    4. 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

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    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?
    Frans

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2006
    Posts
    17

    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
  •  



Click Here to Expand Forum to Full Width