🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #248

Re: how can we notice that the web-cam is installed or not?

#248
From: Mustafa Korkmaz
Date: Mon, 26 Jan 2004 13:12
21 lines
1847 bytes
I dont want to capture any image from web-cam..I only want to know either the user have a web-cam or not?
For example:
For sound card this function easly says me is there any sound recorder: if WaveInGetNumDevs=0 then....

I want to use one API function if it is posible...

"Daniel J. Wojcik" <devnull@genjerdan.com> wrote:
>On 26 Jan 2004 04:20:39 -0700, Mustafa Korkmaz wrote:
>
>> how can we notice that the web-cam is installed or not? 
>> Is there easy way to know there is a camera or not?
>> if the user have not a web-cam this function will give us false value..
>
>You're capturing from the cam?  Whenever I've done it (VfW or DX), it stops
>if there's no camera available.  You should be able to grab that error and
>do what you'd like.
>
>-- 
>http://www.genjerdan.com/nvm/tdis/index.html
>Of course it's music.  It has notes in it, doesn't it?
Technical Details
Message-ID: <40152053$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40150617$2@newsgroups.borland.com> <lyy5wbjnh07c.pde0lmi72lar.dlg@40tude.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,8edf49f95ba871d5
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-26 06:32:05 PST
From: "Mustafa Korkmaz" <mkorkmaz42@hotmail.com>
Sender: "Mustafa Korkmaz" <mkorkmaz42@hotmail.com>
Reply-To: "Mustafa Korkmaz" <mkorkmaz42@hotmail.com>
Subject: Re: how can we notice that the web-cam is installed or not?
Newsgroups: borland.public.delphi.nativeapi
X-User-Info: 195.128.35.121     
References: <40150617$2@newsgroups.borland.com> <lyy5wbjnh07c.pde0lmi72lar.dlg@40tude.net>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <40152053$1@newsgroups.borland.com>
Date: 26 Jan 2004 06:12:35 -0700
X-Trace: newsgroups.borland.com 1075126355 207.105.83.66 (26 Jan 2004 06:12:35 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail