ComInterop: VB6 Com Interface object = VB6 Com object fails
- From: "Douglas Marquardt" <no_spam@xxxxxxxxx>
- Date: Wed, 22 Mar 2006 07:24:00 -0700
Hi All:
As the subj says.... I am trying to do this:
Dim prms As BTIIFCORE.IFProperties
prms = New BTIBSODLL.Properties
BTIIFCORE is a VB6 DLL that contains a public not createable
class named IFProperties
BTIBSODLL is VB6 DLL that that contains a multiuse class
named Properties that implements IFProperties.
The assignment fails with this error:
COM object with CLSID {DF37E968-5E86-46A5-A449-5E9C2E180379}
is either not valid or not registered.
If I change the code to this:
Dim prms As Object
prms = New BTIBSODLL.Properties
then it works, however, I need access to the implemented
interface.
Any ideas to get this to work?
Doug.
.
- Follow-Ups:
- Re: ComInterop: VB6 Com Interface object = VB6 Com object fails
- From: Douglas Marquardt
- Re: ComInterop: VB6 Com Interface object = VB6 Com object fails
- Prev by Date: executing GPG commands inside VB .net 2003 form
- Next by Date: How to update data in Windows Datagrid
- Previous by thread: executing GPG commands inside VB .net 2003 form
- Next by thread: Re: ComInterop: VB6 Com Interface object = VB6 Com object fails
- Index(es):