It still doesn't work though - Are we perhaps doing something wrong with our INT to Word conversion - perhaps because it should be a double word. Do we need to add CHR(0) to the front or end of the return string - also does the length of the structure include the dword ??