Directories listed in the PATH system variable.Directory, from which the MetaTrader 4 client terminal was started.Directory terminal_data_directory\MQL4\Libraries ( TERMINAL_DATA_PATH\MQL4\Libraries). ![]() The module here is an Expert Advisor, a script, an indicator or EX4 library Directory, from which the module importing dll was started.Otherwise, it performs a search in the following sequence: If the library is already loaded (for example, another Expert Advisor, and even from another client terminal, running in parallel), then it uses requests to the library already loaded. The system libraries (DLL) are loaded by the operating system rules. If the library hasn't been found, then the client terminal performs an attempt to load it from terminal_dir\experts folder. ![]() The MQL4 libraries are loaded from the terminal_dir\MQL4\Libraries folder. It is not recommended to use the fully specified name of the module to be loaded like Drive:\Directory\FileName.Ext. MQL4 and DLL libraries are executed in the thread of a calling module. This means that if a program has call of an imported function, the corresponding module (ex4 or dll) is loaded during the program load. To import functions during the execution of a mql4-program, the client terminal uses early binding.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |