D
Dan Holmes
When importing a COM component that was written in VB there will be more than one interface/class name created for each
public class. Just a simple activex DLL will create two interfaces and one class in the interop file.
In this case i have a class in a VB6 project named RseComAdapter. When compiled and referenced by VS2005 the object
viewer shows _RseComAdapter (interface), RseComAdapter (interface) and RseComAdapterClass (class).
Does it matter which of those i use in code when declaring or creating? Are they interchangeable?
is
_RseComAdapter rse = new RseComAdapterClass();
the same as
RseComAdapter rse = new RseComAdapterClass();
thanks for any guidance.
danny
public class. Just a simple activex DLL will create two interfaces and one class in the interop file.
In this case i have a class in a VB6 project named RseComAdapter. When compiled and referenced by VS2005 the object
viewer shows _RseComAdapter (interface), RseComAdapter (interface) and RseComAdapterClass (class).
Does it matter which of those i use in code when declaring or creating? Are they interchangeable?
is
_RseComAdapter rse = new RseComAdapterClass();
the same as
RseComAdapter rse = new RseComAdapterClass();
thanks for any guidance.
danny