Article View: borland.public.cppbuilder.nativeapi
Article #300Re: How to detect COM installed
From: Jason Cipriani
Date: Tue, 03 Jun 2008 15:40
Date: Tue, 03 Jun 2008 15:40
18 lines
1854 bytes
1854 bytes
"James5950" <James@1come.com.tw> wrote in message news:4845648d@newsgroups.borland.com... >> asking, are you having a specific issue? >> >> > Yes, I use 3rd party COM, I need install this COM first, so my software > need to detect COM is installed. I would assume that if the 3rd party COM library is not installed, then when you tried to CoCreateInstance or QueryInterface one of the COM objects or interfaces in the 3rd party library, then it would fail. E.g. CoCreateInstance failing with REGDB_E_CLASSNOTREG, or QueryInterface failing with E_NOINTERFACE. You may wish to consult the documentation for the 3rd party library to see if they have any specific techniques that they recommend. Jason
Technical Details
Message-ID:
<484565fe@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4844feb4$1@newsgroups.borland.com> <484552cc$1@newsgroups.borland.com> <4845648d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e3f9e3d7cc319589 X-Google-Attributes: gid10cc67,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Jason Cipriani" <jason.cipriani@nospam-gmail.com> From: "Jason Cipriani" <jason.cipriani@nospam-gmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4844feb4$1@newsgroups.borland.com> <484552cc$1@newsgroups.borland.com> <4845648d@newsgroups.borland.com> Subject: Re: How to detect COM installed Date: Tue, 3 Jun 2008 11:40:34 -0400 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 24.189.100.241 Message-ID: <484565fe@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1212507646 24.189.100.241 (3 Jun 2008 08:40:46 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 1681