Oleg's platimg only works for 32-bit, while api/gdiplus and api/gdi32 (should) work for both 32-bit and 64-bit. Those x's usually stand for pointers whose length depend on 32/64-bit OS.
Please provide a minimun example showing how it didn't work for GDI/API. Срд, 11 Янв 2012, Cliff Reiter писал(а): > In thinking about the best way to move forward the best of image3 addon > to 64 bit and J7 it seems to me that using OS resources would be > preferred over porting the image3 dll source to 64 bit. In the platimg > addon I see that Oleg managed that nicely in J6 32. I presume this has > also been done in J7 based on the J7 api/gdi addon. Any pointers to > where I should look for examples to that? > > In particular, Oleg uses > > GdipBitmapLockBits=: 'gdiplus GdipBitmapLockBits> i i i i i *i ' cdi > > while the API/GDI uses > GdipBitmapLockBits=: 'gdiplus GdipBitmapLockBits i x *i i i *x'&cd > > What do the x's mean. > > In J6 64bit neither work (using gdiplus.ijs I get furthest), further still > with > adding oleg's version above, but the actual memory data read fails > > z=. (h,w)$memr p,0,(w*h),4 > |domain error: memr > | z=.(h,w)$ memr p,0,(w*h),4 > |[-17] c:\data\io.ijs > > Ideas? > Best, Cliff > > > -- > Clifford A. Reiter > Lafayette College, Easton, PA 18042 > http://webbox.lafayette.edu/~reiterc/ > > ---------------------------------------------------------------------- > 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