From: "Ilya P. Ryzhenkov" To: djgpp AT delorie DOT com Date: Sun, 3 Nov 1996 15:33:18 +0600 Subject: Re: ANNOUNCE : Dynamic Link Modules first release Message-ID: <483B5D76BC@spy.isp.nsc.ru> > Date sent: Sun, 3 Nov 1996 11:18:35 +0200 (IST) > From: Eli Zaretskii > On Sat, 2 Nov 1996, Ilya P. Ryzhenkov wrote: > > > I've done developing first version of Dynamic Link Modules (DLM) > > environment for DJGPP. > > If this is similar enough to the Windows DLL mechanism, please consider > making it compatible to DLLs. Thanks. This is NOT similar to Windows DLL. In Windows DLL are Dynamicaly Loaded, but not linked. All you have is to get address and call a function or reference data VIA POINTER. In DLMs all things are run-time linked, so not taking any additional resources in processor time for dereferencing pointers etc. Only resources are used is memory, taken to store DLM specific data. You need only make a LoadDLM("filename.dlm") call and engine will take care of the rest. There will not be calls like this : void (*f)(void); f=(void (*)(void))GetSymbolsAddress("_f"); f(); /* which is call via pointer */ There will be only extern void f(void); ... LoadDLM(path); ... f(); /* which is direct call, not via ptr */ Thanks for feedback. ====================================================================== Institute of Semiconductors Physics Ilya P. Ryzhenkov Russian Academy of Sciencies e-mail: ilya AT spy DOT isp DOT nsc DOT ru Siberian Branch http://spy.isp.nsc.ru