#DOCUMENTATION by cg
class: ExternalLibraryFunction
comment/format in: #loadLibrary:
--- 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