存根收到错误数据
我在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查您调用的 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.