Midas.dll problem in Delphi XE4

MarcoFerlini
MarcoFerlini used Ask the Experts™
on
Hi,
I use Delphi XE4 for developping on iPad with Firemonkey on Windows 7 64 bit.
On design time I use one SQLConnection for talk wit my datasnap REST server and when I connect is all ok. Next I use one SQLServerMethod connected to SQLconnection and is it active without problems. Next component is one DataSetProvider connect to SQLServerMethod and is all ok.

My problem is when I use one ClientDataset: if i tourn active property to true I receive one message "Error Loading MIDAS.DLL".

Midas.dll is in C:\windows\SyWOW64, in all the directory of my program; I use midaslib in my uses bat non works.

Ideas?

Thanks (and sorry for my english!)
Marco
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
uses bat file to register midas.dll
MarcoFerliniManaging Director

Author

Commented:
how can I do?
Regards
midas.dll doesn't need to be registered, you can put it in the same directory as your application.

But also, it isn't actually needed. Recompile the application with MidasLib in the uses clause.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial