Parallel
dnl.txt
Associated article: Dynamic Linking & Late Binding for Netware
Tags: Parallel
Published source code accompanying the article by Thomas Creighton in which he discusses late binding, which provides you with the flexibility to decide at run time whether or not a particular feature is available. On operating systems such as Netware (which that doesn't support virtual memory), this can be extremely valuable.Also see DNL.ZIP.
Dynamic Linking & Late Binding for Netware
by N. Thomas Creighton
Listing One
void (* pFoo) (void);
int (* pBar) (int iParam);
hDNL = LoadLibrary("SomeDNL");
if (hDNL)
{
pFoo = GetProcAddress("Foo");
pBar = GetProcAddress("Bar");
}
if (! pFoo || ! pBar)
{
// ...


