stringo:
Thanks. I was able to fix the problem. I had started with a DLL created using the .NET 2005 (unmanged code in C++). Apparemtly there are some settings for the project files that are not compatible with MQL. I did not figure out what they were. Instead, I started with the ExpertSample project file and placed my code in it and modified the file names. This seems to have done the trick and things are working now.
What is "unable to call the function in the DLL"?
Can You show exact log message?
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 am getting an error message in the EA log that I am unable to call the function in the DLL. I thought it might be a parmeter passing issue so I made a dummy function with no params:
int getInt();
In the DLL this is defined as
__declspec(dllexport) int __stdcall getInt() { return 1; }
i am also enabling Expert Advisors and no confirmation of DLL calls.
Can anyone tell me what I am doing wrong or point me to a possible solution?