Hi again...
Well at the risk of sounding like a newbie...
I see the v43 extensions support exactly what I need - that is it supports PDTM_WRITEPIXELARRAY ans PDTM_READPIXELARRAY.
The latter would seem to be the method I need. The pictureclass.h header doesn't really go into much depth. There is a pdtBlitPixelArray struct defined also, containing width, height, modulus and buffer address, so I assume its the argument for the above methods.
I'm just a bit nonplussed that it also contains a ULONG MethodID field The header contains no hint as to what this is for. Is this just a copy of PDTM_READ/WRITEPIXELARRAY? Seems odd that it would be needed :-?
Can anybody confirm the usage of these methods for me?
So far I'm guessing its...
void* buffer;
....
struct Object* picObject;
...
struct pdtBlitPixelArray myPixelArray;
myPixelArray.MethoodID = PDTM_READPIXELARRAY;
myPixelArray.pbpa_PixelData = buffer;
...
DoMethod(picObject, PDTM_READPIXELARRAY, &myPixelArray);
Is this correct?