Jump to content

Midas.dll error


Vladan

Recommended Posts

When a project is started on a computer where Delphi was not previously installed, an error is displayed in the browser asking for a Midas.dll.

 

If I put MidasLib in the project uses, it opens a web page without this error, but with a blank screen. If I view page source, everything is there, all paths are good.

 

Project is run as a normal application. It works on a Delphi computer without issues.

 

How to resolve it ?

 

Thank you.

Link to comment
Share on other sites

Hi,

 

Probably one of path not correct.(check ExtJS path).

 

Check this url path is correct and viewable:

 

http ://localhost:8077/ext-4.1.1a/ext-all.js
http ://localhost:8077/ext-4.1.1a/uni/ext-unigui-min.js

 

Regards

Link to comment
Share on other sites

Hi,

 

put  midas.dll  in the project  directory

 

Hi perjanbr,

 

When you add MidasLib to uses list no need add midas.dll to project folder. in this case midas library embedded to your exe.

 

Regards

Link to comment
Share on other sites

Hello Vladan,

I also had this problem, if you still did not solve and you do not MidasLib added, do the following:

* Add a midas.dll the directory of your project.

in the Main OnCreate event put the following code:

LoadLibrary (PChar (ServerModule.StartPath + 'midas.dll'));

Link to comment
Share on other sites

  • 4 years later...
×
×
  • Create New...