Alan Gauld wrote: >> return (UINT)(dst - dstStart); >> } > > > This looks odd, I don't think I understand what it does. > It seems to return an address thats potentially (probably?!) > before the start of the original dst... It's returning the length of dst. Kent