🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15663

Re: Com access violation

#15663
From: ScOe
Date: Fri, 20 Jun 2003 06:20
20 lines
1491 bytes
"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3ef20150$1@newsgroups.borland.com...
>
> You did not actually instantiate an ICaptureGraphBuilder2 instance first
and
> assign it to the CComPtr before then invoking the '->' operator.

I have never worked with Com, but i assumed you thought:

CComPtr<ICaptureGraphBuilder2> graphBuilder2_;
hr = graphBuilder2_.CoCreateInstance( CLSID_CaptureGraphBuilder2 );
if(hr != S_OK)
    return;

problem is that hr is allways !S_OK
>
> Gambit
>
>
Technical Details
Message-ID: <3ef2a7e3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ef1fb3e@newsgroups.borland.com> <3ef20150$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,145244a27e8699b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-19 23:26:22 PST
From: "ScOe" <sven.savic@zg.hinet.hr>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ef1fb3e@newsgroups.borland.com> <3ef20150$1@newsgroups.borland.com>
Subject: Re: Com access violation
Date: Fri, 20 Jun 2003 08:20:45 +0200
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
NNTP-Posting-Host: 213.191.137.61
Message-ID: <3ef2a7e3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056090083 213.191.137.61 (19 Jun 2003 23:21:23 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail