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

Reply via email to