out of stack space:

I don't have a function calling itself or other recursive problems.

it is a VB app calling a C dll;

so the C dll is working on the VB stack...

is this right?

how could I increase stack space or refresh it ?

or, more generally, how can I get rid of my problem?

Thank you