These are the results after the change was made to the DLL
The C++ Function is now like this:
There is no change to the MQL import
When I run the EA the error message is the same. "Cannot find 'ArrayTestingFunction' in 'ArrayTest.dll'" followed by "unresolved import function call"
When viewing the changed DLL with PE Explorer the Export menu option is greyed out and cannot be selected
Thanks,
John
The C++ Function is now like this:
Inserted Code
#define MYDLL_EXPORT comment(linker, "/EXPORT:"__FUNCTION__"="__FUNCDNAME__) int WINAPI ArrayTestingFunction(double testArray[][10]) { double value = testArray[1][1]; // Change the value in the array and check for the new value in the calling EA testArray[1][1] = value * 2; return(0); #pragma MYDLL_EXPORT }
When I run the EA the error message is the same. "Cannot find 'ArrayTestingFunction' in 'ArrayTest.dll'" followed by "unresolved import function call"
When viewing the changed DLL with PE Explorer the Export menu option is greyed out and cannot be selected
Thanks,
John