|
From: Michael S. <mic...@nu...> - 2004-03-13 17:34:06
|
Hi, =20 I=B4ve al little basic questions concerning static libs (.dll or .so). The apps link with an import library which on runtime dynamically = imports the functions from the dll, don=B4t they. The main thing I=B4d to know is that I=B4ve heard of multiple apps = sharing the same .dll if appropriate. So if I have global vars in the .dll code, are they shared among all apps linking to the .dll, or does every app have it=B4s = own "copy" of the data inside the .dll? In my example I=B4ve apps linking with the wx GUI library dynamically. = Some of them use plugin .dlls which themselvbes link dynamically against wx. wx has globals in it, and I=B4ve noticed that the plugins can work and = call wx functions without problems. But if I had multiple wx apps running at once they would interfere with = each other... Could someone explain this basics to me a bit? =20 thanks for your help =20 Michael Stather |