Re: Dll using symbols of the executable

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jerry Coffin (jcoffin_at_taeus.us)
Date: 09/11/04


Date: Sat, 11 Sep 2004 08:45:01 -0600

In article <413f63cc$1@e-post.inode.at>, philip@waug.at says...
> Hi,
>
>
> I'm trying to port a Linux application to Windows but I'm running into
> some problems regarding the use of dlls.
>
>
> This project has a lot of shared libs on linux (these are plugins) and
> the executable is linked in a special way so it exports its own symbols.
> Now the shared libs can use symbols from the executable and vice versa.
>
>
> Is this also possible on Windows?

Yes. Take a look at:

http://www.google.com/groups?selm=MPG.13b43cc091250b9298996e%
40news.mindspring.com

for a short tutorial on one way to build the DLL and executable in
this situation.

-- 
    Later,
    Jerry.
The universe is a figment of its own imagination.


Relevant Pages

  • Dll using symbols of the executable
    ... I'm trying to port a Linux application to Windows but I'm running into ... Now the shared libs can use symbols from the executable and vice versa. ... Is this also possible on Windows? ... I only found references for using symbols from dlls inside applications ...
    (microsoft.public.vc.language)
  • Re: DLL vs Shared Library
    ... DLLs under Windows are shared just like shared libs ... IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL. ...
    (Ubuntu)
  • Re: yum --enablerepo command (Newbie).
    ... DLLs from Windows in Linux? ... In some cases, such as mplayer, they are. ...
    (Fedora)
  • Re: Overview
    ... Linux are all quite capable of producing statically linked programs. ... ALL programs under windows link dynamically with the kernel dlls, ... Windows dlls at all. ... They do call the interrupt 0x21 links. ...
    (comp.lang.c)
  • shared libs vs dlls
    ... shared libs and dlls. ... I am not discussing Windows vs Linux ... where there are a lot of dlls and def files for them already ...
    (comp.os.linux.development.apps)