Re: windows .dll files and linux
- From: "Lew Pitcher" <lpitcher@xxxxxxxxxxxx>
- Date: 22 Mar 2007 10:03:33 -0700
On Mar 22, 12:53 pm, "juicym...@xxxxxxxxxxxxxx"
<juicym...@xxxxxxxxxxxxxx> wrote:
hey everyone,
I'm currently using a program on windows which is really irritating
me. It consistes of an .exe file and several .dll files which
apparently do 'all the work'. I wanted to take the .dll files and,
using them, code up a version of this app for linux. The problem is
that I'm not sure of the ins and outs of the .dll files. Is there a
way to figure out the inputs and params of the functions in the .dll
files?
Unfortunately, your best bet is to ask that question in a Microsoft
Windows newsgroup (one of the comp.os.ms-windows.* groups). The answer
will take a knowledge of the internals of Microsoft DLL creation,
which you are unlikely to find here.
One caveat, though. It is not a trivial task to call a Windows DLL
entrypoint from a Linux program. In fact, as Linux uses a different
format for shared object modules, and different facilities to load
them, you are going to have a bl**dy hard time accessing DLL
entrypoints from your Linux programs.
I'd suggest that you take a look at Wine (http://www.winehq.org/) to
see how they do it. You might be able to scarf a piece of code that
will mate your Linux ELF executable with your Windows COFF DLLs.
Luck be with you
--
Lew
.
- Follow-Ups:
- Re: windows .dll files and linux
- From: Paul Pluzhnikov
- Re: windows .dll files and linux
- From: Mikko Rauhala
- Re: windows .dll files and linux
- References:
- windows .dll files and linux
- From: juicymixx@xxxxxxxxxxxxxx
- windows .dll files and linux
- Prev by Date: windows .dll files and linux
- Next by Date: Re: system() function
- Previous by thread: windows .dll files and linux
- Next by thread: Re: windows .dll files and linux
- Index(es):
Relevant Pages
|