In 32-bit windows, all global variables are in the application data space.
The DLL code is in its own space, but mapped to the application's. You
cannot share variables between application instances simply by declaring
them as global.
In 16-bit windows, all DLL global variables are owned by the first
application instance that loaded the DLL.
----- Original Message -----
From: "Rohit Gupta" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[email protected]>
Sent: Thursday, May 04, 2006 11:16 PM
Subject: [DUG] DLLs and memory space
When a DLL is loaded explicitly using LoadLibrary, which memory
space/segment do its global variables occupy ?
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi