I am using C++ .NET, and I want to make a class (MFC DLL) to be used in VB6.0.
I made the class, I've added the DLL to the references.
But when I go to "Object Browser" (F2), it shows only the class, but without my public members, just the class, that's it....
Right now I have only the AddItem, and as you can see it's public...Code:class BinaryCollection : public CWnd { DECLARE_DYNAMIC(BinaryCollection) public: BinaryCollection(); virtual ~BinaryCollection(); virtual void OnFinalRelease(); long AddItem(long str); protected: DECLARE_MESSAGE_MAP() DECLARE_DISPATCH_MAP() DECLARE_INTERFACE_MAP() };
So what else do I have to do, so I can use it in VB ?




Reply With Quote