On Tue, Oct 19, 2010 at 4:49 AM, Henry Rich <[email protected]> wrote:
> I would like to stuff the address of the data (which is read-only to the
> DLL) into the structure; but I can't get that address.  So I have to
> allocate a big area whose address I know, and memw the data to it.  Ecch.

I think you can get the address of the data from C using the JGetM
function.  For an example, see j64-602/system/examples/dll/jdll.ijs,
or jep.c inside "http://www.math.bme.hu/~ambrus/pu/jevalbot.tgz";.

Ambrus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to