ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Camera functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Connects the "Camera" control to a specific driver for video capture.
Remarks:
  • To use this function, a "camera" must be connected to the current computer.
  • This function is equivalent to VideoSetDriver.
Reminder To obtain the list of video snip drivers installed on the current workstation, use the CameraListDriver function. To determine which driver is currently associated with a Camera control, use the Driver property.
// Affiche la liste des drivers vidéo disponibles
// dans le champ LISTE_DriverVidéo
ListAdd(LISTE_DriverVidéo, CameraListDriver())
// Utilise le deuxième driver Vidéo
IF CameraChangeDriver(CAM_Camera1, LISTE_DriverVidéo[2]) = False THEN
	Error("Changement de driver impossible : " + CR + ...
	ErrorInfo())
END
Syntax
<Result> = CameraChangeDriver(<Camera control> , <Identifier of video driver>)
<Result>: Boolean
  • True if the video driver associated with the control was modified,
  • False if a problem occurs. To get more details on the error, use ErrorInfo.
<Camera control>: Control name
Name of the Camera control to be used.
<Identifier of video driver>: Character string
Identifier of video driver to use. This identifier has the following format:
<Driver name> + TAB + <Driver version>
This identifier corresponds to the list format returned by CameraListDriver.
Component: wd300obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help