Solved

midas.dll troubles

Posted on 2004-09-13
10
425 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
 
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now