Ok found the problem it was in the client
changed
const BYTE key[DES_EDE3::DEFAULT_KEYLENGTH] = "d0763edaa9d9bd2a9516280e";
//problem with this is if you specify a size the last byte will be a NULL
instead used
const BYTE key [] = "d0763edaa9d9bd2a9516280e";
//this works fine
thanks anyway
AJ
