Hiya, thank you for the expedient reply.
I've tried to use the code you supplied, but when I try to compile it from within Procomm, I get a lot of compilation errors. It's almost as if it doesn't understand what a "String", "long", etc is.
Here are examples:
Error C025...