syntagma
syntagma

Reputation: 24344

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

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).

Upvotes: 6

Views: 1943

Answers (2)

Jesse Pepper
Jesse Pepper

Reputation: 3243

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.

Upvotes: 0

CommonsWare
CommonsWare

Reputation: 1007228

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.

Upvotes: 6

Related Questions