another one: >function BN_Bn2Hex(a:BNPtr):PChar; >begin > _BnBn2Hex(a); >end; i also assume that it should be Result := _BnBn2Hex(a); ? i don't quite see the use of this function... henry