我“堆栈空间不足”当我运行报告两次时使用crystl32.ocx / vbasic 5

发布于 2024-08-22 11:27:31 字数 142 浏览 10 评论 0原文

前几次我运行报告,它打印正常,但是当我尝试卸载正在运行它的表单时,我收到“堆栈空间不足”错误 28,并且程序因该错误而终止。

详细信息指出问题是crystl32.ocx 版本4.6.1.0 造成的。

报表关闭时如何释放堆栈空间??????

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 details point to to crystl32.ocx version 4.6.1.0 as the problem.

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

人间☆小暴躁 2024-08-29 11:27:31

我不太熟悉该版本的 Crystal Report 控件,但是该控件是否有 Reset() 方法?如果不进行重置,您就不会告诉控件释放为打印报告而分配的任何资源。

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.

慈悲佛祖 2024-08-29 11:27:31

嗯,当我卸载表单时,我收到此错误,因此所有内容都应该被释放。
我发现如果我一次只打开一张表格,我就不会遇到这个问题。
我猜这些报告只是使用了太多的资源……不过,如果能打开 2 个报告就好了。我可以多次运行同一个报告并保持打开状态,但不能运行 2 个不同的报告

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文