Made XDAAP 64 bit compatible