Running EA with imported DLL New comment artem.reznikov 2011.02.04 14:06 In MT5 when you start the terminal with the configuration file command line: terminal.exe /config:FileName.inia script or an expert advisor loads which is specified in the section of INI file such as: [StartUp] Script=ScriptName Expert=ExpertName Symbol=EURUSD Period=M15In this case, if the expert advisor uses imported DLL libraries and there is a record allowing import in the appropriate section of the INI file: [Experts] AllowDllImport=1then scripts are running and work without any errors, but expert advisors are unloaded with mistake: DLL loading is not allowed Calling MT4 to place a trade to start Strategy tester from dos? [ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. artem.reznikov 2011.02.07 14:46 #1 Can anyone from MetaQuotes answer is there a way to allow DLL import for expert advisors or maybe I am doing something wrong? Anton 2011.02.08 12:55 #2 artem.reznikov: Can anyone from MetaQuotes answer is there a way to allow DLL import for expert advisors or maybe I am doing something wrong?Fix will be available at next build. artem.reznikov 2011.02.10 14:28 #3 antt: Fix will be available at next build.Thank you for your help! New comment
command line: terminal.exe /config:FileName.ini
a script or an expert advisor loads which is specified in the section of INI file such as:
In this case, if the expert advisor uses imported DLL libraries and there is a record allowing import in the appropriate section of the INI file:
[Experts] AllowDllImport=1then scripts are running and work without any errors, but expert advisors are unloaded with mistake:DLL loading is not allowed