You'd be better off asking this in the C++ forum. My C++ is pretty rusty, but this doesn't look like a COM componet you've written, or a .NET assembly. You're trying to use a C++ style class in managed code, and that just isn't going to work. It needs to be rewritten using CLI (Managed C++) in order to be used the way your doing it now. But, like I said, you're in the wrong forum for an accurate answer to this question.
Dave Kreskowiak Microsoft MVP - Visual Basic