Implicit Delayed DLL Loading?

Vladimir Panteleev vladimir at thecybershadow.net
Tue Jan 4 02:29:21 PST 2011


On Tue, 04 Jan 2011 11:03:45 +0200, %u <wfunction at hotmail.com> wrote:

> I was wondering, is there a way to tell the compiler to implicitly  
> delay-load
> a DLL, like you can with the /DELAYLOAD:DllName option in Visual C++?

Well, first of all DELAYLOAD is a linker option, and it doesn't look like  
OPTLINK supports it.
You could have a look at how Derelict loads and binds entire APIs (e.g.  
SDL) at runtime.

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list