托管到 Windows Azure 上的本机互操作 NO P/Invoke

发布于 2024-08-07 01:27:37 字数 213 浏览 2 评论 0原文

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 技术交流群。

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

发布评论

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

评论(1

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