Jump to content


Photo

Midas.dll error

Midas.dll delphi.

  • Please log in to reply
6 replies to this topic

#1 Vladan

Vladan

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 17 March 2013 - 09:50 AM

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.


  • 0

#2 patmap

patmap

    Advanced Member

  • Members
  • PipPipPipPip
  • 265 posts
  • LocationTehran, Iran

Posted 17 March 2013 - 02:19 PM

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


  • 0

#3 perjanbr

perjanbr

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 89 posts
  • LocationCianorte-PR Brazil

Posted 17 March 2013 - 07:34 PM

Hi,

 

put  midas.dll  in the project  directory


  • 0

Jancarlos Martins


#4 patmap

patmap

    Advanced Member

  • Members
  • PipPipPipPip
  • 265 posts
  • LocationTehran, Iran

Posted 17 March 2013 - 07:52 PM

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


  • 0

#5 Marlon

Marlon

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 368 posts
  • LocationNova Mutum - MT - Brasil

Posted 17 March 2013 - 10:02 PM

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'));


  • 0

#6 Vladan

Vladan

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 18 March 2013 - 07:35 AM

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.


  • 0

#7 rogercon

rogercon

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 27 December 2017 - 01:06 PM

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 ?


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users