From: Luis Lavena Date: 2011-01-13T05:05:20+09:00 Subject: Re: programmatic access to windows dlls on linux (FFI?) On Jan 12, 3:32 pm, jtprince wrote: > 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. -- Luis Lavena