Vladan Posted March 17, 2013 Posted March 17, 2013 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.
patmap Posted March 17, 2013 Posted March 17, 2013 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
Jancarlos Martins Posted March 17, 2013 Posted March 17, 2013 Hi, put midas.dll in the project directory
patmap Posted March 17, 2013 Posted March 17, 2013 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
Marlon Nardi Posted March 17, 2013 Posted March 17, 2013 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'));
Vladan Posted March 18, 2013 Author Posted March 18, 2013 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.
rogercon Posted December 27, 2017 Posted December 27, 2017 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 ?
Recommended Posts