Article View: borland.public.cppbuilder.multimedia
Article #1140Re: video capture
From: Tom Deleu
Date: Mon, 21 Jan 2002 10:55
Date: Mon, 21 Jan 2002 10:55
27 lines
1627 bytes
1627 bytes
oops, made a mistake, it not op the capCreateCaptureWindow statement, the access violation occurs but on the next statement, "capConnectDevice(hWndC, 0);" "Tom Deleu" <tdeleu@hotmail.com> schreef in bericht news:3c4ac2d3_1@dnews... > I try to create a Capture window with the following code in my onformCreate > event: > ------- > char szDeviceName[100]; > char szDeviceVersion[100]; > > capGetDriverDescription (0, szDeviceName, sizeof (szDeviceName), > szDeviceVersion, sizeof (szDeviceVersion)); > hWndC = capCreateCaptureWindow(szDeviceName, WS_CHILD | WS_VISIBLE , 0, 0, > 160 , 120 , this->Handle, 0); > ------- > > But everytime I get a "access violation" on the capCreateCaptureWindow > statement... > > Can anyone help me and say to me what i'm doing wrong? > > > > >
Technical Details
Message-ID:
<3c4bf3b2_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3c4ac2d3_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0fc,dd934ac047f05362 X-Google-Attributes: gid10d0fc,public X-Google-ArrivalTime: 2002-01-21 03:09:04 PST From: "Tom Deleu" <tdeleu@hotmail.com> Newsgroups: borland.public.cppbuilder.multimedia References: <3c4ac2d3_1@dnews> Subject: Re: video capture Date: Mon, 21 Jan 2002 11:55:40 +0100 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 213.224.150.61 Message-ID: <3c4bf3b2_1@dnews> X-Trace: dnews 1011610546 213.224.150.61 (21 Jan 2002 02:55:46 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews