The error reported was:
Location: Window1.WriteData, line 2069
Error: This method uses 44k of stack space, but the limit is 32k.
End Sub
The actual 5.5.5 project, opened in 2005r4 and 2006r1, operates fine
and shows no stack errors.
I will submit a bug report with the project as a private example if
the owner permits.
In the meantime, does anyone have any similar experience or knowledge
that they could pass on as this is a first for me.
It's not an error. There's a 32kB limit to the size of a stack frame.
Newer versions of RB tend to use up more of the stack frame for the
same code. So if you were close to the limit before, your code might
not work in the newer versions.
The solution is to reduce the size of that method. Refactor it into
multiple methods, reduce the the number of local variables and
parameters, reduce the complexity of if and case statements, reduce
expression complexity and number of expressions to reduce the number
of temp variables BR creates for you.
This has been discussed many times on the list before and the clear
solution is simply to redice the size and complexity of that method.
Regards,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>