thanks a lot for this nice debug ! I think I see the problem now. could you please add the line "fScale=0;" on line 198, just before the block "if (myData.pCurrentSurface != NULL)" ? 2010/11/9 Al Markov