hi
I'm trying to create objects or structs in a DLL or OCX that can be seen by Visual Basic programs.

---These objects will be created by VB programs using either keyword New or CreateObject.

---The objects will be passed as parameters to functions inside the DLL/OCX.

---The objects will be returned by functions from the DLL/OCX.

Where should I be reading? Can anyone provide a simple sample
project?

P.S. I'm trying to avoid OLE and Variants if possible.

thank you

awni