For calling a dll, see http://www.jsoftware.com/jwiki/JoeBogner/CallingDLL for some examples
For the other direction, you will need to have the external program invoke the j.dll and evaluate the script. See http://www.jsoftware.com/help/user/calling_jdll.htm On Jul 9, 2014 4:55 AM, "Jon Hough" <[email protected]> wrote: > In J7/8 is it possible to build and use DLL files and call them from other > programs (e.g. .NET programs etc)? > I tried doing one of the DLL Labs in J7.01, and got blocked when the Lab > tried to load a non-existent file: > > > open '~system\examples\dllwrite\dlltest.cpp' > > Presumably this is left over from J6, and is not included in later > versions? Regardless, the cpp file does not exist. > > Also, I tried looking through the JWiki guide for using DLLs, which also > seems to be only usable in J6? > > In J7/8 how can I : > > (a) call dll from J script? > > (b) create a DLL file to be called by another program? > > > Regards, > Jon > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
