Chris:
Thanks for the updated APL2000 workspace. I have tried it out and it seems to
work very well.
That leaves only the Dyalog workspace. I'm not sure that I understand enough
about interfacing to
DLL's to fix it. Perhaps when Devon gets a chance he will be able to spot the
problem.
Regards,
Joe
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Chris Burke
Sent: Thu 14/12/2006 9:08 PM
To: General forum
Cc:
Subject: Re: [Jgeneral] Calling J engine from APL environment
Joe Tibollo wrote:
> Chris (and Devon):
>
> When I use the Dyalog workspace, with version 9 or 10 I get syserror
999
> when I run the demo (even adjusting for the location of j.dll). So,
the
> dll definitions need to be adjusted for Dyalog APL.
>
> When I try to load the apl2000 .w3 workspaces (with versions 5.2 and
> 6.4), I get
>
> )LOAD C:\j601\test\JDLL
> INCOMPATIBLE WS
I just looked at the APL2000 workspace, and have resaved it as
http://www.jsoftware.com/scripts/apl2000.zip .
The main change is that you need to run JInit at outset to get a handle
for the JDLL, then use that handle in subsequent function calls. See the
definitions of makejfns and jget etc.
Another change was in the memory addressing in jgetext (get extended
precision). With these changes, the demo seems to work fine.
You will need to make corresponding changes in the Dyalog workspaces.
Again, if you do so, please let me have an update.
I am surprised that you could not load the workspace with V5.2 or 6. I
thought apl2000 ensured that you could always read earlier versions of
the workspaces. Anyway, the version used was V3.5.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm