Re: windows .dll files and linux



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


.



Relevant Pages

  • Re: Converting Windows driver (DLL) to Linux driver
    ... > How can I convert a Windows DLL to a Linux driver. ... > in Windows assembly and it is PE Explorer generated. ...
    (comp.os.linux.development.apps)
  • Re: .Net packaging/wrapper application?
    ... it just didn't work well in reality due to DLL ... Windows works is to look in the executable's directory for a needed DLL ... the way apps used to work when they developed Windows. ... Looks to me like Jim is looking for the .NET equivalent of compiling ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... >> I found something called CGwin or something, it emulates some linux on ... >> the windows plattform, but it is only reliable for source builds runs, ... This then allows you to compile Linux source code against the DLL and the ...
    (alt.lang.asm)
  • Re: Unnown process... 5eplorer.exe
    ... do not remove the cause (a "super"-hidden .dll program) but only remove ... symptom files and registry settings. ... It has all permissions but 'copy' denied to everyone, ... then by using the Windows XP Recovery Console. ...
    (microsoft.public.win2000.general)
  • Re: WinSxS, functional under 2k ?
    ... The newSide-by-Side Assembly technology was introduced with Windows XP to help reduce or eliminate DLL Hell. ... If you recall earlier Windows versions, like Windows 95, when you installed an application you were warned if the installer tried to replace a DLL from the system folder with an older version and you were asked if you wanted to accept the change. ... Until Windows XP it wasn't so easy to use different versions of shared system DLLs, that is what the new Side-by-Side assemblies attempts to resolve. ...
    (microsoft.public.win2000.general)