Jump to content
uniGUI Discussion Forums
Vladan

Midas.dll error

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.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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'));

Share this post


Link to post
Share on other sites

I tried using ext 4.2 (this is what I got when I bought a license) and it looks like that is the reason why it failed when using MidasLib.

 

It works with 4.1.1a.

 

Issue fixed.

 

Thank you.

Share this post


Link to post
Share on other sites

eu tentei colocar o codigo do marlon no create do form MAIN, também tentei copiar midas.dll para a pasta do projeto e também tentei declar midaslib no uses, e todos eles não resolveram o problema. alguma outra solução ?

Share this post


Link to post
Share on other sites

×