One week ago I had to fix a DLL that I use on my software that allow me to do some mail merging on Excel. The error that I got was that the midas.dll was not found.
The problem is that if I add the uses Midaslib on the DLL, call one of the function of the DLL and then destroy the handle of the DLL, It will result on some acces violation on the main software because it use ClientDataSet.
My theory is that the Midaslib call, who are necessary for the usage of ClientDataset, has been flush out of memory or somethings that I can't understand now.
Do any of you had the same problem ? If so do you have any solution please ?
If the information can be usefull, I'm on Delphi 10.4.