Home > database >  Questions about call AVICAP32 video.
Questions about call AVICAP32 video.

Time:09-18

Made a video program, there are two problems:
1. Click on the video window will not response, when to click a few times window, can stop button.
2. Can video, but I can't save to set the path to the inside, and the file name is just a drive letter, no suffix.

Please help to have a look at what the problem is.



String videoname
Cb_stop. Enabled=true
Enabled=false
Videoname=gs_cd_path + string (datetime (today (), now ()), "yyyymmddhhmmss") + ". Avi "

If lhand & lt;> 0 then
Send (lhand wm_cap_file_set_capture_filea, 0, videoname)
Send (lhand wm_cap_sequence, 0, 0)
end if

CodePudding user response:

Try to set the path to c: \ 1. Avi

Doubt is the problem of escape character

CodePudding user response:

Escape character for the ~ of pb, maybe caused in the avi for \, if in c: \ 1. Avi, you try in c: \ \ 1. Avi
  • Related