.Net Core Interop Linux [英] .Net Core Interop Linux

查看:72
本文介绍了.Net Core Interop Linux的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用C#开发了一个Interop DLL,由Progress 4GL调用.我遵循以下示例:http://stackoverflow.com/questions/11688009/create-com-object-from-own-c-sharp-dll-in-progress-4gl

I developed a Interop DLL using C# to be called by Progress 4GL. I follow this example: http://stackoverflow.com/questions/11688009/create-com-object-from-own-c-sharp-dll-in-progress-4gl

它可以在Windows上运行,但是客户服务器在Linux上,因此我将DLL更改为使用.Net Core.那么,如何在Linux上称呼它呢?我需要注册吗?如果是这样,我该怎么办?

It worked on Windows, but the customer server is on Linux, so I changed my DLL to use .Net Core. So, how can I call it on Linux? Do I need to register it? If so, how can I do it?

最好的问候,Felipe Hosomi

Best regards, Felipe Hosomi

推荐答案

COM是.NET或.NET核心之外的Windows平台技术.因此,Postgress 4GL和.NET核心都不支持Linux上的COM互操作.

COM is a Windows platform technology outside of .NET or .NET core.  So neither Postgress 4GL nor .NET core supports COM interop on Linux.

您将不得不在Linux上使用另一种风格的本机代码互操作.

You'll have to use a different style of native code interop on Linux.

请参见

本地互操作性

David


这篇关于.Net Core Interop Linux的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆