When I am declaring a function from a DLL in a module, is it possible to variabilize the DLL that the function resides in (to allow for the DLL being located in different possible places)

Such as:
Public Declare API_Call Lib varDllPath (ByVal etc.....)

When I declare a Constant varDllPath and try to use that in the Public Declare statement... I get an error... "expected string constant".

Is there a way to variabilize the path to the DLL referenced in the declaration to allow for setting that at run-time?

Thanks, Dale.