Quote Originally Posted by M109uk
Thanks paul_nicholls,

Your code was a great help, just had to load the stream data into a pointer and it all seems to work great
Glad to help!
Just giving something back to the forum :-)
cheers,
Paul.