Yes, that's right. Far pointers have no meaning for XGATE and though the code looks a bit ugly it's probably very efficient at assembly level.
If you can define the buffer in advance then there is no need to pass the pointer though and that's still the best solution. Alternatively, can you pass the pointer once and then use offsets to access the data after that?
Message Edited by pittbull on 02-21-200611:12 AM