Click to See Complete Forum and Search --> : VB accessing a DCOM interface


Brendan
February 9th, 2000, 06:10 AM
I have a service (VC++) which exposes a COM interface. When I register the proxy stub on a client machine it does not register a ProgID.

Is the a build setting to make this happen. Otherwise, how can I get a VB app to access this interface given only the GUID and not a ProgID ?

Brendan Baird

March 1st, 2000, 03:56 PM
I have the same question, anyone can help us out?

stephane gelb
March 7th, 2000, 11:49 AM
perhaps a call to the function ProgIDFromCLSID defined in the ole32.dll

just an idea!

agodinho
March 7th, 2000, 05:24 PM
Yes, you will need to use ProgIDFromCLSID from ole32.dll, but you cant access this interface with early bound without the use of other com interface functions.

the QueryInterface is the aswer for your problem but in vb is very boring to do this.

The use of late bound references is more simple.