I made a mistake in the main() part of the exemple. The call of GetTriPascalLine(iNumLine, Results); must be replace by GetTriPascalLine(i, Results); Now it's good. Sylvain.