On Thu, Sep 18, 2008 at 1:43 PM, Rick McGuire <[EMAIL PROTECTED]> wrote:
> The one reservation I have is how additional library dependencies > would end up getting resolved. I have a suspicion that libraries in > other REXX_PATH directories would not be located. That's why you get paid the big bucks. <grin> You're right. On Windows, probably the same on Linux, if you had an external library package that was loaded from REXX_PATH by the interpreter, and that library had a dependency on some other library that was not in the path, it would not get resolved. But, would you ever have that? I was thinking just in the context that this might be handy for external library packages for the ooRexx interpreter. You could do this: ::requires 'myFunctionLib' LIBRARY and have myFunctionLib.dll in a private directory, not in the path but in the users REXX_PATH. But there would be a restriction, myFunctionLib could not be dependent on some other private library. It could only have dependencies on other libraries in the PATH (on Windows.) If you can't build myFunctionLib without dependencies on some other private library, then hey - you have to put those libraries in the path. That then is no different than today. On Windows, the docs seem to me to say that if you load myFunctionLib, the directory it is loaded from will be used to search for any dependent library of myFunctionLib. So, I think on Windows the restriction would that the dependent libraries for myFunctionLib would all have to be in the same directory in the REXX_PATH. Have to actually test that. -- 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