Making a DLL with a static library dependency
Phil Deets
pjdeets2 at gmail.com
Mon Dec 14 22:01:49 PST 2009
On Tue, 15 Dec 2009 00:56:12 -0500, Phil Deets <pjdeets2 at gmail.com> wrote:
> (D 2.033) I'm porting a DLL to D. The DLL depends on a static library,
> but when I put the library name on the command-line, dmd does not output
> any DLL file. If I remove the library name from the command-line, dmd
> gives linker errors and outputs an invalid DLL. How do I make a DLL with
> a static library dependency?
Actually, it depends on another DLL. The static library I need to link to
is an import library for that DLL. I'll work on loading that DLL without
the .lib file using the Windows API while I wait for an answer here.
More information about the Digitalmars-d-learn
mailing list