托管到 Windows Azure 上的本机互操作 NO P/Invoke
Azure 是否允许在不使用 P/Invoke 的情况下托管到本机互操作。我有 ac 头文件和 dll,我计划将其包装在托管 c++ dll 中,然后将其包装在 ac# 包装器中以方便使用。
无论如何,头文件与 P/Invoke 一起使用太复杂,并且使用托管 c++ 包装器要容易得多,但是我不知道这是否可以在 Azure 或任何其他云平台(例如 EC2)中实现?
有什么想法吗?
Does Azure allow managed to native interop without the use of P/Invoke. I have a c header file and dll which I plan to wrap in a managed c++ dll, and then wrap that in a c# wrapper for ease of use.
Anyways, the header file is to complicated to use with P/Invoke, and its much easier to use the managed c++ wrapper, however I don't know if this is possible to do in Azure or any other cloud platform such as EC2 ?
Any ideas ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Azure 确实允许本机调用,请查看此链接
但它必须仅 64 位。
Azure does allow native calls, check on this link
But it has to be 64 bit only.