Instead, set a reference to the DLL in the projects references.
In the DLL, create an exposed class. This class will be the entry point, and will be the means of refering to the library. If the classâ name is âclsClassy,â and it has a method (Sub or Function) or a property called âAddNum,â you would refer to that as clsClassy.AddNum.
No Declare would be used.
|