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.
Midas.dll
will register itspath
in the registry and any calls to it will use that registry path to find it. So most likely yourmidas.dll
has been moved to another location and now all Delphi software cannot find it anymore. Either put the dll back to its original path or re-register midas into the registry so the path is up-to-date again – GuidoG Feb 25 at 10:25