Ah - thank you. I think that the confusion is that I am writing in VB.net. (I suppose I should have mentioned that to make it clearer - my mistake.) In VB, Long data type is, in fact, 64-bits. I guess that is what is confusing me. Ah, yes I understand. The microsoft document includes a mapping betwe...