🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
4 messages
4 total messages Started by James5950 Tue, 03 Jun 2008 08:19
How to detect COM installed
#293
Author: James5950
Date: Tue, 03 Jun 2008 08:19
7 lines
1173 bytes
Dear All,

How to detect COM install on user system?

Thansk any comments and help.
Best regards,
James
Re: How to detect COM installed
#296
Author: Jason Cipriani
Date: Tue, 03 Jun 2008 14:18
6 lines
1218 bytes
"James5950" <James@1come.com.tw> wrote in message 
news:4844feb4$1@newsgroups.borland.com...
> How to detect COM install on user system?

COM is a built-in part of Windows. It's always "installed". Why are you 
asking, are you having a specific issue?
Re: How to detect COM installed
#299
Author: James5950
Date: Tue, 03 Jun 2008 15:34
9 lines
1289 bytes
> 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.

Thanks you,

James 
Re: How to detect COM installed
#300
Author: Jason Cipriani
Date: Tue, 03 Jun 2008 15:40
18 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads