Using Windows DLL from Linux

后端 未结 7 1777
别跟我提以往
别跟我提以往 2020-11-28 07:29

We need to interface to 3rd party app, but company behind the app doesn\'t disclose message protocol and provides only Windows DLL to interface to.

Our application i

7条回答
  •  春和景丽
    2020-11-28 08:20

    Any solution is going to need a TCP/IP-based "remoting" layer between the DLL which is running in a "windows-like" environment, and your linux app.

    You'll need to write a simple PC app to expose the DLL functions, either using a homebrew protocol, or maybe XML-RPC, SOAP or JSON protocols. The RemObjects SDK might help you - but could be overkill.

    I'd stick with a 'real' or virtualized PC. If you use Wine, the DLL developers are unlikely to offer any support.

    MONO is also unlikely to be any help, because your DLL is probably NOT a .NET assembly.

提交回复
热议问题