DLL import not working in MQL5

To add comments, please log in or register
jaffer wilson
775
jaffer wilson  

I am trying to make the MQL4 project to MQL5.  

Here is the original version: BPNN Project


Here is my DLL code: Code for DLL

The error that I am facing is:  

2018.04.13 15:26:39.385 2018.03.01 00:00:00   Access violation at 0x00007FFA9C2E2ECE read to 0xFFFFFFFFFFFFFFFF
2018.04.13 15:26:39.385 2018.03.01 00:00:00      crash -->  00007FFA9C2E2ECE 8B401C            mov        eax, [rax+0x1c]
2018.04.13 15:26:39.385 2018.03.01 00:00:00                 00007FFA9C2E2ED1 89442420          mov        [rsp+0x20], eax
2018.04.13 15:26:39.385 2018.03.01 00:00:00                 00007FFA9C2E2ED5 EB08              jmp        0x7ffa9c2e2edf
2018.04.13 15:26:39.385 2018.03.01 00:00:00   
2018.04.13 15:26:39.385 2018.03.01 00:00:00                 00007FFA9C2E2ED7 8B442448          mov        eax, [rsp+0x48]
2018.04.13 15:26:39.385 2018.03.01 00:00:00                 00007FFA9C2E2EDB 89442420          mov        [rsp+0x20], eax
2018.04.13 15:26:39.385 2018.03.01 00:00:00                 00007FFA9C2E2EDF 8B442420          mov        eax, [rsp+0x20]
2018.04.13 15:26:39.385 2018.03.01 00:00:00                 00007FFA9C2E2EE3 89442424          mov        [rsp+0x24], eax
2018.04.13 15:26:39.385 2018.03.01 00:00:00   
2018.04.13 15:26:39.385 2018.03.01 00:00:00   00: 0x00007FFA9C2E2ECE
2018.04.13 15:26:39.385 2018.03.01 00:00:00   01: 0xCDCDCDCDCDCDCDCD
2018.04.13 15:26:39.385 2018.03.01 00:00:00   02: 0x00007FFA00000001
2018.04.13 15:26:39.385 2018.03.01 00:00:00   
To add comments, please log in or register