开发者

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

开发者 https://www.devze.com 2022-12-20 23:01 出处:网络
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 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

精彩评论

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