Hi all,
At this moment i use a dll to hook into a windows system function (as far as i know that is the only way to do this in delphi). The problem is that i want to store some global counter information about this dll and reuse it each time it is active.
Right now i store it into a file which i open and close each time the dll is used. This does work, but is not a great solution for obvious reasons.
Does anybody know if there is a better way to deal with this by sharing a part of the host.exe memory or some other trick ..
Any help on this is much appreciated.
Regards,
Rick