ExternalLibraryFunction.st
changeset 20561 3c0b80431555
parent 20528 4a4e915617b6
child 20579 9add81aadb7a
child 20958 4a8561ed705e
--- a/ExternalLibraryFunction.st	Thu Oct 06 20:52:30 2016 +0200
+++ b/ExternalLibraryFunction.st	Fri Oct 07 16:58:56 2016 +0200
@@ -921,6 +921,10 @@
 
     |handle nameString filename dllPathes|
 
+    (ObjectFileLoader isNil or:[ObjectFileLoader canLoadObjectFiles not]) ifTrue:[
+        self error:('ObjectFileLoader class missing: cannot load dll/module: "%1"' bindWith:nameString).
+    ].
+
     filename := dllName.
     DllMapping notNil ifTrue:[
         filename := DllMapping at:filename ifAbsent:[ filename ]