Stuart Bishop, if you have working code for Mac uRXP I will try and test on the PC to see if your malloc issues are OS related. Context diff patch would be fine. The pyRXP module assumes everything is 8 bit, so it's likely that anything malloced by it will have wrong sizes when asked to do 16 bit things. -- Robin Becker