Hi Erich
Brilliant...Part 2 was the answer. If I cast it to unsigned char * as you pointed out, it works as expected. I will try changing the type to unsigned char for the array in the code and see if I can avoid the extra step.
Thank you... this was driving me crazy looking up values in ascii charts!!
Robert