Thanks for the tip ... I was just about to start plunging around in the ASN.1 book I have and see hopw to fix it myself, having come to the conclusion that the nested type declartions might be the cause of the problem. You've just saved me a bunch of work ...... :-) N.