如何判断 dde 响应何时完成?
我正在与 DDE 服务器交谈,我没有太多使用 NDde .NET 库的文档。 我已为 Advise 和 Disconnected 事件附加了处理程序,并且正在成功接收数据。 我从未看到引发 Disconnected 事件,也没有在响应流中看到任何似乎表明所有数据已返回的信号。 那么,有两个问题:1)在哪里可以找到 DDE 的入门指南? 现在似乎没有太多关于它的内容。 2)我的想法正确吗? 服务器是否应该告诉我它何时已发送了打算为数据流中的 Advise 链接发送的所有数据,或者通过引发事件来告诉我,或者我是否必须估计应返回的响应数量?
谢谢
I'm talking to a DDE server I don't have very much documentation for using the NDde .NET library. I've attached handlers for both the Advise and Disconnected events and am receiving data successfully. I never see a Disconnected event raised nor do I see anything in the response stream that seems to signal that all the data has been returned. So, two questions: 1) where can I find a intro guide to DDE? There doesn't seem to be very much out there now regarding it. And 2) am I thinking about this correctly? Should the server tell me when it has sent all the data it intends to send for an Advise link in the data stream or by raising an event or do I have to estimate the number of responses that should be returned?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我是 NDde 库的作者,所以也许我可以提供帮助。 我知道有点晚了。 无论如何,客户端和服务器按照约定的协议交换信息。 所以你对图书馆可能没有做错什么。 您只需要知道服务器如何工作即可。 当对话终止时,将引发
Disconnected
事件,因此这可能不是您想要的。I am the author of the NDde library so maybe I can help. It is a little late I know. Anyway, the client and server exchange information in an agreed upon protocol. So there is probably nothing you are doing wrong with the library. You just need to know how the server works. The
Disconnected
event will be raised when the conversation is terminated so that is probably not what you are looking for.1)也许在这里http://www.angelfire.com/biz/rhaminisys/ddeinfo。 html 你会发现一些有用的东西(我理解MSDN这不是你想要的)
1) maybe here http://www.angelfire.com/biz/rhaminisys/ddeinfo.html you will find something useful (I understand MSDN it's not what you want)