Autor Beitrag
chillermiller
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 25



BeitragVerfasst: Mo 24.05.10 21:11 
Hallo alle zusammen,

mein Problem ist bei der Webcam-Klasse, die ich verwende, kann man keine bestimmte Webcam auswählen.
Am besten wär eine Prozedur bzw. Funktion, bei der man unter Systemeigenschaften und Hardware eine bestimmte Webcam auswählen kann.


Danke für eure Hilfe!


Moderiert von user profile iconNarses: Topic aus Internet / Netzwerk verschoben am Mo 24.05.2010 um 22:55
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Mo 24.05.10 21:15 
Und welche Webcam Klasse wäre das?

_________________
PROGRAMMER: A device for converting coffee into software.
chillermiller Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 25



BeitragVerfasst: Di 25.05.10 13:00 
Also ich verwende dieses Modul hier:

www.cypax.net/snippe...hi/index?language=de

Die Klasse heißt CAM.dcu.
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Di 25.05.10 15:16 
Und in den Quellcode hast du schon reingesehen?
ausblenden Delphi-Quelltext
1:
    SendMessage( handle, WM_CAP_DRIVER_CONNECT, 00 );  //vorletzter Parameter =1 -> DialogFenster "welches Videogerät?"					

_________________
PROGRAMMER: A device for converting coffee into software.
chillermiller Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 25



BeitragVerfasst: Di 25.05.10 17:54 
Nun ja, ich änder das also wie folgt ab:
ausblenden Delphi-Quelltext
1:
SendMessage( handle, WM_CAP_DRIVER_CONNECT, 10 );  //vorletzter Parameter =1 -> DialogFenster "welches Videogerät?"					

Dann speicher ich die Unit und compiliere das Programm neu.
Nur leider kommt immer noch nichts. :(

Was ist mein Fehler?

Danke schonmal für eure Hilfe.

Moderiert von user profile iconNarses: Delphi-Tags hinzugefügt