#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Sun, 12 Feb 2017 02:14:43 +0100
changeset 21400 cbcbe62447f8
parent 21399 c05454fb546d
child 21401 46251f16e9e5
#DOCUMENTATION by cg class: ExternalLibraryFunction comment/format in: #loadLibrary:
ExternalLibraryFunction.st
--- a/ExternalLibraryFunction.st	Sat Feb 11 04:40:52 2017 +0000
+++ b/ExternalLibraryFunction.st	Sun Feb 12 02:14:43 2017 +0100
@@ -1006,12 +1006,21 @@
         ^ self loadLibrary:(filename withSuffix:ObjectFileLoader sharedLibrarySuffix)
     ].
 
+    "/ check for: the dll-path in:
+    "/      - owningClass dllPath
+    "/      - self class dllPath
+    "/ check for: the dll-name mapping
+    "/      - DllMapping (the classVar, but accessed via self class dllMapping)
+    "/        this can map both basenames and whole pathnames
+    "/ eg: self class dllMapping at:'libtesseract' put:('/opt/local/lib/libtesseract.dylib').
+    "/ see also the settings dialog for external libraries.
     self
         error:('Cannot find or load dll/module: "%1"' bindWith:nameString)
         mayProceed:true.
     ^ nil
 
     "Modified: / 12-11-2016 / 11:27:23 / cg"
+    "Modified (comment): / 11-02-2017 / 16:45:40 / cg"
 !
 
 prepareInvoke