Can a .NET component be used from a COM component?
thanks you a lot
2009-07-01 06:55:13
+1
A:
Yes, you can do it (like mentioned in the other answers).
It basically boils down to exposing your .NET component as a COM component (this can be done by signing your assembly and just flipping a switch [Make assembly COM-Visible] in the Assembly Information Dialog Box, but good practice demands to implement an interface, and expose only the interface using the ComVisibleAttribute).
This way, your COM component can talk to the .NET component as if it is also a COM component.
fretje
2009-07-01 12:39:51