When I try to add this new dll to the refrences it won't let me. If in my declare statement I hardcode in the location of my dll after Lib it works but this won't be very safe when others install it. Any ideas?

Declare Function GetHWp Lib "D:\GetHW\Release\GetHW.dll" () as Long



Thanks.