|
How does the .net program use the com interface inheritance relationship?
For example, the Com class "ComClass" inherits the Com interface "ComInterface", but after .net references them, ComClass and ComInterface are irrelevant. If you write
ComInterface obj = new ComClass();
It is reported that it cannot be converted. May I ask ComClass to be converted to ComInterface? |
|