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.
wneubAsked:
Who is Participating?
 
bpanaConnect With a Mentor Commented:
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
 
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
wneubAuthor Commented:
Of course, the midas.dll is in the program folder.
0
 
bpanaCommented:
did you installed it on the targeted computers ?
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.