Dynamic linking with symbols
- From: Philip Lawatsch <philip@xxxxxxx>
- Date: Tue, 30 Aug 2005 18:02:14 +0200
Hi,
I've got a special problem:
I have an executable which dllexports a lot of stuff. And a dll which dllimports it (yes, _really_ this way around).
The idea is that the dll is a plugin for my exe and thus can use all of the "symbols" inside my executable.
Now the problem is that in this case the dll has to link against a specific executable which in turn makes sure I can't use the same dll in two different executables.
Now I could put all the exported code from my executables into a dll and let my plugin dll and both of my executables link against this dll.
This way I could use the plugin dll in both executables.
I'd however like to avoid bringing yet another dll into the game and thus am looking for a unix like solution. On Linux for instance I can simply export the symbols of my executable by name and the dynamic loader will link the shared lib against the executable (it will happily link against any executable as long as the symbols are there) at runtime.
Is there anything like this available on Windows?
kind regards Philip .
- Follow-Ups:
- Re: Dynamic linking with symbols
- From: Ulrich Eckhardt
- Re: Dynamic linking with symbols
- From: James Brown
- Re: Dynamic linking with symbols
- Prev by Date: Re: VC 6 compil DLL used by VC7
- Next by Date: Re: Dynamic linking with symbols
- Previous by thread: Rotating a JPG image
- Next by thread: Re: Dynamic linking with symbols
- Index(es):
Relevant Pages
|
Loading