Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Load a dll at run time

Question
Ricardo Paiva · May 6, 2016

Load a dll at run time

I am using java gateway imported/proxy classes and JG business service. I need to load a dll at run time.

I use System.loadLibrary/System.load when in java. I’ve tried $ZF(-3,” C:\Windows\System32\pteidlibj.dll”) and $ZF(-4,1,"C:\Windows\System32\pteidlibj.dll") but I’m getting <DYNAMIC LIBRARY LOAD> error.

How can I load a dll at run time using COS?

#Ensemble #Callout #Java #ObjectScript

Source URL:https://community.intersystems.com/post/load-dll-run-time