On 2010-10-12 10:44, bill lam wrote: > Apparently the array int[] is passed as safearray. I'm not sure in J's > built-in olecom can handle safearray. Did you test the code run inside > 32-bit but failed on 64-bit environment? Yes, I tested in a 64-bit environment with J6-32bit. The return value is the same, and the J value is the same. > Or you may try fix the int[] object > and use getm/setm to directly read and write memory content. Interesting... That might be a workaround, if GetB is not intended to do arrays in the first place. Incidentally, what does the B in GetB stand for? Do you know if there is documentation on all COM functions? > You may > get a fairly accurate idea of the internal structure of a J array > from browsing the source code of the j memory map file script. > Also interesting! I will check it out!
Martin Pelletier ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
