Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 802
syntagma Avatar asked Dec 30 '11 14:12

syntagma


1 Answers

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.

like image 61
CommonsWare Avatar answered Sep 18 '22 09:09

CommonsWare