I have a problem when I try my app on an other computer without Delphi.
If I put midas.dll in the same folder / directory on System32 I always get error message Error loading midas.dll, but if I put midas.dll on the desktop then the error message does not appear and the application runs normally.
How to handle midas.dll so I can place it in the same folder?
From the command line type:
regsvr32 filepath\midas.dll
You should specify a full path (if another copy of midas.dll exists in the system search path, regsvr32 may choose that copy instead of the one in the current directory).
The first time midas.dll is loaded on a machine, it writes a registry entry where it is located. After that, it always looks to that original location when it is needed.