programmatic access to windows dlls on linux (FFI?)

J

jtprince

We have a particularly important file that is in a binary, proprietary
format (annoying, yes). But, the company releases a small, standalone
library with dlls for accessing the file format.

The dlls are all in one folder and interface the binary file through a
COM interface. The functions are well documented.

Is there any way to build an FFI interface (or in some other way)
access the dll's to then read these files,
**but from within linux**? I know I can use wine, but I'd like to not
have to use wine, if at all possible. Is it possible?

Thanks in advance!
 
L

Luis Lavena

We have a particularly important file that is in a binary, proprietary
format (annoying, yes).  But, the company releases a small, standalone
library with dlls for accessing the file format.

The dlls are all in one folder and interface the binary file through a
COM interface.  The functions are well documented.

Is there any way to build an FFI interface (or in some other way)
access the dll's to then read these files,
**but from within linux**?  I know I can use wine, but I'd like to not
have to use wine, if at all possible.  Is it possible?

Well, no.

The ActiveX (COM) Library depends on Windows libraries, so you need a
Windows system or an emulation layer.

The portable COM architecture from Mozilla (XPCOM) will not help you
on that since the binary is still PE and not ELF and links and uses
libraries your Linux system doesn't know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top