在Linux平台上使用DLL Win32 [英] Use dll win32 in linux platforms

查看:309
本文介绍了在Linux平台上使用DLL Win32的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Linux中为Win32使用DLL库。

I want to use a DLL library for Win32 in Linux.

我可以使用Wine库吗?

Can I use a library of Wine to do that?

推荐答案

您应该可以使用 winelib
此处是对著名的WINE开发人员Ulrich Weigand的采访:

You should be able to do that using winelib. Here is an interview with Ulrich Weigand a prominent WINE developer:



  • 我设法使WineLIB使用Windows dll进行VQF播放。
    您是否期望使用WineLIB的人在Linux中编写需要封闭源Windows dll的应用程序?

    确定。 IMO是WineLib的主要功能之一:您可以使用它将本机Windows DLL链接到Linux应用程序。
    我认为有很多例子可能有用。想起ODBC驱动程序,视频编解码器等。
    (这就是为什么我最近添加了对在WineLib应用程序内甚至执行16位DLL的支持,因为Win95驱动程序倾向于将其缩减为16位...)

  • I managed one to get WineLIB to use a windows dll for VQF playing. Do you forsee people using WineLIB to write applications in Linux that need a closed source windows dll?
    Sure. IMO that's one of the main features of WineLib: you can use it to link native Windows DLLs into Linux apps. I think there are lots of examples where this could be useful; think of ODBC drivers, video codecs, etc. (That's why I recently added support for executing even 16-bit DLLs inside WineLib apps, because Win95 drivers tend to thunk down to 16-bit ...)

这篇关于在Linux平台上使用DLL Win32的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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