Recursive (stack) problem(編號:469)

When I use vb6 to wrote my TicTacTao program. Stack overflow occur in my recursive function. Please give me advices about how to solve this kind of problem T_T