I think Derelict loads the DLLs at load time, before the call to main() (I could be wrong here). Delayed loading is when a DLL is imported at runtime when there's an actual call made that requires the DLL, it doesn't get preloaded at load time.
On 1/4/11, Vladimir Panteleev <[email protected]> wrote: > On Tue, 04 Jan 2011 11:03:45 +0200, %u <[email protected]> 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:[email protected] >
