FFI+Windows+moduleName

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

FFI+Windows+moduleName

Schwab,Wilhelm K
I need to connect to a library that by default is installed (on Windows) under ProgramFiles.  What is the correct way to handle that?  Should I put the full path in #moduleName, or is there a better way to do it?

Bill


Reply | Threaded
Open this post in threaded view
|

Re: FFI+Windows+moduleName

Andreas.Raab
Use a subclass of ExternalLibrary and then implement the (class-side)
method #moduleName appropriately. In it, you can use
ExpandEnvironmentStrings() etc. to find the actual path to the library
in question.

Cheers,
   - Andreas

On 11/30/2010 12:07 PM, Schwab,Wilhelm K wrote:
> I need to connect to a library that by default is installed (on Windows) under ProgramFiles.  What is the correct way to handle that?  Should I put the full path in #moduleName, or is there a better way to do it?
>
> Bill
>
>
>