We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
Attachmate Reflection 非常好,它满足您提到的所有要求它有一个很棒的 .NET API,您可以使用它轻松地从 .NET 代码中实现自动化。他们的网站上没有列出价格,但我认为不到 300 美元......
Attachmate Reflection is really good, it meets all the requirements you mentioned and it has a great .NET API you can use to easily automate it from your .NET code. They don't list prices on their website but I think it is under $300...
对于桌面:我喜欢使用稳定且众所周知的客户端并远程控制此实例的想法。因此我最终使用 x3270 (http://x3270.bgp.nu/) 作为全功能,成熟的客户端与 X3270.Rest 结合使用 (https://www.nuget.org/packages/X3270.Rest/),让您可以通过公开的 REST 接口(http://x3270.bgp.nu/rest.html)。重新实现一个全新的 .NET 客户端并不是一个真正的选择,因为有很多替代方案。所有这些陷阱都会导致重新发明轮子......但是,通过像前面提到的那样的适当接口,无需使用 DDE/HLLAPI 即可轻松实现任务自动化。
如果在后台运行意味着没有可见窗口,则可以通过 Process.Start 使用合适的参数从 .NET 启动 x3270 客户端,以避免创建窗口。
For Desktop: I liked the idea of using a stable and well known client and remote control this instance. Therefore I ended up using x3270 (http://x3270.bgp.nu/) as the full featured, mature client in combination with X3270.Rest (https://www.nuget.org/packages/X3270.Rest/) that let's you remote control it from within a .NET application via the exposed REST interface (http://x3270.bgp.nu/rest.html). Reimplementing a complete new .NET client was not really an option because of all the alternatives out there. All those pitfalls on the road that lead to an reinvented wheel... But with an appropriate interface like the one mentioned it was quite easy to automate tasks without using DDE/HLLAPI.
If running in the background means without visible window one could start the x3270 client from .NET via Process.Start with suitable arguments to avoid a window beeing created.