Hello,
I have a program written in Embarcadero XE5 which also connects to MySQL database using dbExpress components. The components I use also require midas.dll library, but the library I put into the folder with the compiled .exe file is ignored by the program and runs into Cannot load midas.dll error.
What I have tried:
At my computer, the .exe file ends up using C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\bin\midas.dll , but if I move midas.dll to the program's folder (where the .exe file is), the program ignores it and says Cannot open midas.dll!
At another computer, placing midas.dll into the folder with the .exe file does not work either. Even placing midas.dll into the folder which works for me does not make the .exe file find it. How do I make my .exe file find midas.dll? By all I found it is supposed to find it in the program's folder, but it does not.