Solved

midas.dll troubles

Posted on 2004-09-13
10
430 Views
Last Modified: 2011-09-20
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
Comment
Question by:wneub
  • 3
  • 2
  • 2
  • +2
10 Comments
 
LVL 6

Expert Comment

by:bpana
ID: 12048510
you have to distribute midas with your application

http://community.borland.com/article/0,1410,20870,00.html
0
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12048551
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
 

Author Comment

by:wneub
ID: 12048751
Of course, the midas.dll is in the program folder.
0
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 
LVL 6

Expert Comment

by:bpana
ID: 12048978
did you installed it on the targeted computers ?
0
 
LVL 6

Accepted Solution

by:
bpana earned 50 total points
ID: 12049111
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
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12051688
in addition to what bpana said ... better copy it to %WINDOWS%\system32 folder and do regsvr32 for this DLL from there...
0
 
LVL 12

Expert Comment

by:Lee_Nover
ID: 12053173
just add MidasLib to the uses clause of your project
0
 
LVL 13

Expert Comment

by:BlackTigerX
ID: 12055493
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
 

Author Comment

by:wneub
ID: 12057757
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
 
LVL 12

Expert Comment

by:Lee_Nover
ID: 12058410
for single exe distros it is best to include MidasLib in the uses clause
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi cmd execution 6 60
indy Tmemory stream non latin charcter issue 2 111
update joined tables 2 46
Delphi: barcode reading on android platform 1 30
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question