I have a 32bit dll that takes a key combination from an executable and uses it as a hot key! When another program is activated the dll 'forgets' the key combination, unless I re-activate the application that initally called the dll. I understand that each instance of the dll has it's own memory area under 32bit windows. Is there any way that the dll can have global variables like the ones under 16bit. ie dll has only one memory area? If so how can I impliment this in Delphi 3?