i am using recursion to fill a polygon by checking one pixel at a time, so if the polygon is 100 x 100 pixels on the screen, then the procedure will call itself a maximum of 10000 times. Every time I get a stack overflow. If you want, i can send you the recursive function, but i don't think there is a problem with it, as it has worked based on the same principle in c++. Basically, how can i increase the amount of stack space available for my program?
thanks in advance.