开发者

I get 'out of stack space' with crystl32.ocx / vbasic 5 when I run the report twice

The first several times I run the report it prints OK but when I try to UnLoad the form that's running it I get 'Out of Stack Space' error 28 and the program terminates with that error.

The d开发者_如何学JAVAetails point to to crystl32.ocx version 4.6.1.0 as the problem.

How can I release stack space when the report is closed???????


I'm not all that familiar with that version of the Crystal Report control, but does the control have a Reset() method? Without resetting, you're not telling the control to release any resources allocated for the printing of a report.


Well I get this error when I Unload the form so everything should be released then. I have found out that If I only have one form open at a time I do not have this problem. I guess the reports just use too many resources .... Would be nice to have 2 reports open though. I can run the same report many times and keep them open but not 2 different reports

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜