存根收到错误数据

发布于 2024-09-17 01:06:18 字数 259 浏览 9 评论 0原文

我在 XP SP3 上有一个 delphi 应用程序,它与 Windows 2000 服务器上的 delphi com+ 进行通信,一直工作正常,但现在对于 com+ 的其中一个调用,它无法工作并返回错误 - 存根收到了错误的数据。尽管另外 2 个对 com+ 的调用工作正常。它将值传递回应用程序,并且可以为其他 2 个应用程序执行此操作,认为这与 SP2 问题有关,但它有 SP3,因此排除了这一点。 eventvwr 中没有错误。有谁知道为什么会这样?对delphi相当陌生,所以非常感谢任何帮助。

I have a delphi app on an XP SP3 that talks to delphi com+ on windows 2000 server, has been working fine but now for one of the calls to the com+ it wont work and returns the error -The stub received bad data.Although 2 other calls to the com+ work fine.It passes values back to app and can do this for the other 2, thought it was to do with a SP2 issue but it has SP3 so thats that ruled out. No errors in eventvwr. Does anyone know why this would be? Fairly to new to delphi here so any help much appreciated.

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

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

发布评论

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

评论(1

日久见人心 2024-09-24 01:06:18

检查您调用的 COM 方法是否使用标有 [out] 标志的参数,如果是,则检查您是否没有为这些参数传递 nil 值。

Check if the COM method you are calling is using parameters marked with the [out] flag, and if so then check that you are not passing nil values for those parameters.

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