DLL's and other like sundries

 
I am extensively using MT4's ability to import and use DLL's. The following is a potential problem. I am not expecting feedback from MetaQuotes.

Unless MetaQuotes has a reason for doing this MT4 should detach the DLL when the indicator has lost scope. The DLL is currently being detached when MT4 is closed. I am using shared memory in my DLL and launching a seperate executable which opens the shared memory to allow interchange of data between the two. Obviously in order to share memory the DLL and executable program must create that memory. That memory is lost to me until I close MT4.
Reason: