Hi,

Here is the scenario:

I have a library called GXDErrorHandler, which has a collection that supports enumeration through For...Each.

Then I have another library called GXDCore, which has an object that "implements" GXDErrorHandler.Errors (the collection).

So, VB shows all the methods of GXDErrH.Errors in GXDCore.Errors for me to implement, including the NewEnum function:

Code:
Private Function Errors_NewEnum() As stdole.IUnknown

    Errors_NewEnum = gerrxErrors.NewEnum

End Function
gerrxErrors is a global object variable of type GXDErrH.Errors

But when I try to compile GXDCore (or a start with full compile), I get this error in Errors_NewEnum:

Code:
Compile error:

Member or data member not found
Can anyone help this poor soul?

Thanks in advance.