There are two ways:
-By using the DLL's type library.
-Taking a reference to the function from the DLL instance.