VB accessing a DCOM interface
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
Re: VB accessing a DCOM interface
I have the same question, anyone can help us out?
Re: VB accessing a DCOM interface
perhaps a call to the function ProgIDFromCLSID defined in the ole32.dll
just an idea!
Re: VB accessing a DCOM interface
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.