Hi Adrian,
Turns out my test case was fine, so I'm still struggling to get this working. It's definitely the cast that's causing the problem. I'll see if I can come up with a small test app and drop you an email.
Cheers, Bob
Hi Adrian,