Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 447
  • Last Modified:

midas.dll troubles

Hi,
My Application works fine inside the IDE (Delphi 6) and compiled on NT PC. But on some Win2k PC I get the error loading midas.dll, on other Win2k PC are other errors concerning TClientDataset like key error.
Is it a configuration question?
What is wrong?
DBexpress components works ok.
Thanks for help.
0
wneub
Asked:
wneub
  • 3
  • 2
  • 2
  • +2
1 Solution
 
bpanaCommented:
you have to distribute midas with your application

http://community.borland.com/article/0,1410,20870,00.html
0
 
Ivanov_GCommented:
Instead of distributing MIDAS.DLL, you can just add Midas in your uses clause. This was you will distribute one file less...

uses ...., Midas;

the other way is to take midas.dll and install it on the target machine, for e.g. in system32 folder...
0
 
wneubAuthor Commented:
Of course, the midas.dll is in the program folder.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
bpanaCommented:
did you installed it on the targeted computers ?
0
 
bpanaCommented:
so, does it work on another computer? or it doesn't work in any other computer?
did you installed the dll ?
regsvr32.exe "C:\YouProgramPath..\midas.dll"
0
 
Ivanov_GCommented:
in addition to what bpana said ... better copy it to %WINDOWS%\system32 folder and do regsvr32 for this DLL from there...
0
 
Lee_NoverCommented:
just add MidasLib to the uses clause of your project
0
 
BlackTigerXCommented:
download this program:

http://support.businessobjects.com/communityCS/FilesAndUpdates/modules.zip.asp

is one of my favorite tools when deploying, you run it on your machine with the application running and will tell you ALL the DLLs needed by your program, the rest is just make sure you have those DLLs in the client machine where you are trying to install your program (and register the DLLs that need to be registered, you'll have to find that out, I do it by guessing)
0
 
wneubAuthor Commented:
Hi,
thank you for all the answers. If I register midas.dll, then it seems to work. On some PC it works without register midas.dll, on other it needs to register. So it is the best, always to register it.
0
 
Lee_NoverCommented:
for single exe distros it is best to include MidasLib in the uses clause
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now