Wednesday, April 25, 2001 06:41 AM
I am using the javareg tool from MS to register my class files as COM objects. As far as I use only classes, no problem occurs. The problem starts when I try to register an Interface. It works, but in C++, after creating a wrapper class for this Interface, I cannot use it. If I have for example Interface IFoo and I have class Foo that returns some IFoo, I cannot store the IFoo returned by Foo into an COM-object of IFoo in Visual C++.