Try these foreigns.

symget=: 15!:6 NB. get address of locale entry for name
symset=: 15!:7 NB. set name to address header

examples are provided inside jmf script.

Пнд, 18 Окт 2010, Henry Rich писал(а):
> All of a sudden I have to interface to a DLL that takes a big buffer as 
> input and produces a big buffer as output.
> 
> The input I have, in the variable xxx, but the DLL requires that I 
> create a structure that points to the input.
> 
> 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 would like a new foreign: one that returns the memory address of the 
> data of a noun (or maybe a name).
> 
> Henry Rich
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to