On Wed, May 28, 2008 at 9:17 AM, Thomas Hruska <[EMAIL PROTECTED]> wrote:
> You could write a main() function in a DLL but that doesn't mean it will > ever get called. And DLLs have special entry points (e.g. DllMain()) > that get called by the Windows Loader *IF* the export DllMain() exists. > But even then, a DLL _still_ has an entry point that gets called when > the DLL is loaded by the loader (which goes through the usual > initialization routine of things like initializing global objects). If the OP has been reading this thread, and is worried about this question being asked on an interview, he's got a treasure trove to throw back at the interviewer. -- Brett ------------------------------------------------------------ "In the rhythm of music a secret is hidden; If I were to divulge it, it would overturn the world." -- Jelaleddin Rumi
