The issue is with MT4 build 1421, so I didn't think I would need to put the test.dll into the MQL5 library folder. I did however, as stated put it into MQL4 library folder!
No, not need to copy into the MQL5
So, to make sure the <data> folder is correct, open it from the menu "Terminal -> File -> Open Data Folder" Does the folder <data>\MQL4\Libraries contain test.dll?
I don't see nothing strange in the MT4 & MQL4 native codes.
What exactly CPU do you use?
It's from my VPS, it's the only place where the issue is happening. As threadstarter (Or Mikkelsen?) mentioned, its a windows server-related issue, most likely.
Device nameWIN-3IHC0SQ4OTL
ProcessorQEMU Virtual CPU version 2.5+ 2.19 GHz (2 processors)
Installed RAM3.00 GB
Device IDC32165BC-6BFB-4B6B-B1DF-48F0497BCF8D
Product ID00456-50302-20523-AA702
System type64-bit operating system, x64-based processor
Pen and touchNo pen or touch input is available for this display
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I did not.
Would I need to?
The issue is with MT4 build 1421, so I didn't think I would need to put the test.dll into the MQL5 library folder.
I did however, as stated put it into MQL4 library folder!
No, not need to copy into the MQL5
So, to make sure the <data> folder is correct, open it from the menu "Terminal -> File -> Open Data Folder"
Does the folder <data>\MQL4\Libraries contain test.dll?
No, not need to copy into the MQL5
So, to make sure the <data> folder is correct, open it from the menu "Terminal -> File -> Open Data Folder"Right, yes.
I did that, double checked multiple times before posting, asking for help.
Try recompiled version, I change C++ runtime version from /MTd to /MT
Now it'll allow me to import.
It returns a 1, instead of a 0 as before
Try this code please
Try this code please
Seems like the MathRound is the problem.
Seems like the MathRound is the problem.
OMG
I forget about optimizer!
If you see this, it means MQL compiler has the same behaviour!
To be sure in call function MathRound at runtime, run this
OMG
I forget about optimizer!
If you see this, it means MQL compiler has the same behaviour!
To be sure in call function MathRound at runtime, run this
The results of your most recent code.
I don't see nothing strange in the MT4 & MQL4 native codes.
What exactly CPU do you use?
I don't see nothing strange in the MT4 & MQL4 native codes.
What exactly CPU do you use?
It's from my VPS, it's the only place where the issue is happening.
As threadstarter (Or Mikkelsen?) mentioned, its a windows server-related issue, most likely.
Device name WIN-3IHC0SQ4OTL
Processor QEMU Virtual CPU version 2.5+ 2.19 GHz (2 processors)
Installed RAM 3.00 GB
Device ID C32165BC-6BFB-4B6B-B1DF-48F0497BCF8D
Product ID 00456-50302-20523-AA702
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display