View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ojv[_2_] ojv[_2_] is offline
external usenet poster
 
Posts: 53
Default Dynamic path for dll

Need to use functions from an external dll. When I start up i do not know in
advance the location for the dll but have to query registry to get the full
path. If I then assign this path pluss the dll name to a string variable
fullPath and use this as follows

Declare Function someFnction Lib fullPath .......

I get an error stating that the Lib must be a constant string. Is it
possible to get around this somehow when I do not know the location of the
dll on beforehand and the dll path is not included in the Path setting?