R
Robin Tucker
I have a COM object, which implements straightforwardly the IDataObject
interface. It seems this isn't the same IDataObject interface we now have
with .NET. Basically, the COM object implements low level interfaces. It
does not have a type library. We use it freely with our unmanaged C++
projects. What I would like to do is load or create one of these objects in
VB.NET, but I cannot seem to do it.
I've tried:
Dim theObject As Object
theObject = GetObject ( "c:\gas.tgw" ) * gas.tgw is a file-type we
associated with the COM object
but how do I get the IDataObject interface from theObject?
Is it possible to use basic low-level COM interfaces with VB.NET?
Any answers would be much appreciated.
interface. It seems this isn't the same IDataObject interface we now have
with .NET. Basically, the COM object implements low level interfaces. It
does not have a type library. We use it freely with our unmanaged C++
projects. What I would like to do is load or create one of these objects in
VB.NET, but I cannot seem to do it.
I've tried:
Dim theObject As Object
theObject = GetObject ( "c:\gas.tgw" ) * gas.tgw is a file-type we
associated with the COM object
but how do I get the IDataObject interface from theObject?
Is it possible to use basic low-level COM interfaces with VB.NET?
Any answers would be much appreciated.