Article View: borland.public.cppbuilder.multimedia
Article #1139video capture
From: Tom Deleu
Date: Sun, 20 Jan 2002 13:15
Date: Sun, 20 Jan 2002 13:15
16 lines
1375 bytes
1375 bytes
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:
<3c4ac2d3_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0fc,dd934ac047f05362,start X-Google-Attributes: gid10d0fc,public X-Google-ArrivalTime: 2002-01-20 05:34:18 PST From: "Tom Deleu" <tdeleu@hotmail.com> Newsgroups: borland.public.cppbuilder.multimedia Subject: video capture Date: Sun, 20 Jan 2002 14:15:02 +0100 Lines: 21 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.118.170.218 Message-ID: <3c4ac2d3_1@dnews> X-Trace: dnews 1011532499 213.118.170.218 (20 Jan 2002 05:14:59 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews