Look what's linked to your DLL - depending from your development environment, it can require numerous other DLLs (runtime libs, protocols support, etc). You need to assemble your DLL as a standalone module or ensure all the DLLs are searchable via system PATH.
Fares Alghazy:
Hello,
I've created a DLL that more or less looks like this:
I've added it to my Libraries/ folder:
I arrived to the above location by right clicking MetaEditor and "Open Folder"
I created my EA:
And it builds fine.
The problem comes when I run:
MQL5 debugger:
Critical error while running expert 'test1 (EURUSD,D1)'.
Unknown error.
If i choose to run it anyway use MT5 strategy tester, i get the following output:
How can i get to load properly?
Hello,
I've created a DLL that more or less looks like this:
I've added it to my Libraries/ folder:
I arrived to the above location by right clicking MetaEditor and "Open Folder"
I created my EA:
And it builds fine.
The problem comes when I run:
MQL5 debugger:
Critical error while running expert 'test1 (EURUSD,D1)'.
Unknown error.
If i choose to run it anyway use MT5 strategy tester, i get the following output:
How can i get to load properly?
try adding it into the same folder as the expert advisor
Fares Alghazy:
Hello,
I've created a DLL that more or less looks like this:
I've added it to my Libraries/ folder:
I arrived to the above location by right clicking MetaEditor and "Open Folder"
I created my EA:
And it builds fine.
The problem comes when I run:
MQL5 debugger:
Critical error while running expert 'test1 (EURUSD,D1)'.
Unknown error.
If i choose to run it anyway use MT5 strategy tester, i get the following output:
How can i get to load properly?
Hello,
I've created a DLL that more or less looks like this:
I've added it to my Libraries/ folder:
I arrived to the above location by right clicking MetaEditor and "Open Folder"
I created my EA:
And it builds fine.
The problem comes when I run:
MQL5 debugger:
Critical error while running expert 'test1 (EURUSD,D1)'.
Unknown error.
If i choose to run it anyway use MT5 strategy tester, i get the following output:
How can i get to load properly?
i tried an old dll i had in 2023 , built solution in vs and upon opening up on mt5 it listed 8+ dependencies got the same error.
after fighting around with it , i uninstalled vs and reinstalled it.
Now the dependencies in the list are 4 and it works.
maybe it helps
Lorentzos Roussos #:
Hi Lorentzos, I'm the maker of the DLL I'm using; so it's freshly built
i tried an old dll i had in 2023 , built solution in vs and upon opening up on mt5 it listed 8+ dependencies got the same error.
after fighting around with it , i uninstalled vs and reinstalled it.
Now the dependencies in the list are 4 and it works.
maybe it helps
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I've created a DLL that more or less looks like this:
I've added it to my Libraries/ folder:
I arrived to the above location by right clicking MetaEditor and "Open Folder"
I created my EA:
And it builds fine.
The problem comes when I run:
MQL5 debugger:
Critical error while running expert 'test1 (EURUSD,D1)'.
Unknown error.
If i choose to run it anyway use MT5 strategy tester, i get the following output:
How can i get to load properly?