
Upgrading Visual Basic Applications to .NET • Chapter 14 677
References to Unmanaged Libraries
The introduction of the .NET Framework has certainly given programming a
new dimension. Likely the biggest worry you have, concerns all those COM
components you created over the years.The good news is that all of them can
still be used with applications from the .NET Framework.The .NET Framework
provides you with various techniques to help leverage the functionality of
existing components.
The following example illustrates a very simple implementation of a .NET
component, and the unmanaged client accessing that component.The code for
the .NET component is sho ...