On Thu, Sep 18, 2008 at 12:28 PM, Rick McGuire <[EMAIL PROTECTED]> wrote:
> It would require a little manual processing in the resolution code, > but we could have the code search the REXX_PATH for the library as > well. It would be nice if we did this for Windows too, but I'm not > sure what's involved there. It would be nice to be able to load library packages that were in the REXX_PATH. Both dlopen and LoadLibrary will open the library given its full path name. So, if we searched the REXX_PATH for the file and found it, the full path name could be used and it should work the same on Windows. Windows also has a function, SetDllDirectory() which you can use to add paths to the default DLL search path. Once you augment the path, it stays that way for the life of the process. On Windows, we could augment the DLL search path with the REXX_PATH directories on startup and REXX_PATH would automatically be used for the library search. -- Mark Miesfeld ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel