Running Linux program using Windows DLL (winelib) without wine?

1.8k Views Asked by At

I have a Windows DLL and an API related to the DLL. The DLL is part of a driver of specific device, for which I would like to write a Linux (Android 4.0) software. I've read that it is possible to use a DLL inside Linux software (using winelib).

If I do so, can I run my program without wine (using native Linux environment, with the DLL attached)? I am going to use Java (Android SDK), C++ (Android NDK) and possibly C (needed to write Linux driver working with the DLL).

2

There are 2 best solutions below

0
On BEST ANSWER

I've read that it is possible to use a DLL inside Linux software (using winelib).

Very few Android devices run on x86 processors. Zero Windows apps are written for ARM CPUs (the dominant CPU architecture for Android).

Ergo, you cannot use a Windows DLL on the vast majority of Android devices, regardless of WINE.

0
On

You may be able to get the company that wrote the DLL to build it targeting arm (with win8 / vs2012) and run that under Wine, but it's a long shot. If you have the source code for the DLL, you could try compiling the dll with WinMaker, which is part of WineLib.