I would recommend using the WIA (Windows Image Acquisition) API. To do this, you need the file "WIALib_TLB.pas", which will be automatically created by Delphi in the following steps:
- Choose Project> Import Type Library from the menu.
- Select "Microsoft Windows Image Acquisition 1.01 Type Library" from the list
- Select Create Block
- Then you will get the block "WIALib_TLB.pas"
Use the code from the following URL to find out how you can list the available devices and their properties and take a picture with the camera.
http://www.neunbeere.de/UseNet/WIA.html
Sorry, the comments are in German, but I think the code is easy to understand
source share