G
Garry Hall
Guest
Your post didn't mention the processor architecture, 32-bit vs 64-bit. I am assuming 32-bit at the moment, based on your code, which means a pointer is 4 bytes. If you are using 64-bit, then a pointer is 8 bytes (use PUT-INT64 instead, and adjust later offsets accordingly). There is no need to build the structure in sequence, but if that helps you (just incrementing between each element), that is fine. Are the ObjectRecPtr and ResponseRecPtr objects correctly populated? I would guess the API is expecting these to contain valid data as well. At this point, I think your best bet would be using an example from another language and mapping that to ABL.
Continue reading...
Continue reading...