MQL4 - automated forex trading   /  

Forum

Error 127 on Devcpp - .def file?

Back to topics list To post a new topic, please log in or register

avatar
17
kaleb 2011.05.04 20:27 

Dear Community,

I have read the previous posts existing in this forum regarding error 127 on DLL function calls but I'm unable to get a solution for my case. I hope you can help me.

I'm coding a DLL file in Dev-cpp with a set of functions, I understand that "error 127" is caused by the non-existent def file, so I created a def file (a text file and then changed to .def : def_file.def ) in the following structure:

LIBRARY MyDLL.dll

EXPORTS

Function1

Function2

Function3


Then I go to Project -> Project Options -> Parameters and under Linker I add: --def def_file.def

However, when I compile, the compiler sends a warning saying:

Warning: resolving _Function1 by linking to _Function1@48

Warning: resolving _Function2 by linking to _Function2@80

Warning: resolving _Function3 by linking to _Function3@80

What would be the reason on this?

Each post will be greatly appreciated.

Thanks

What about Hedging Daily?

What about Hedging Daily?

A trading strategy using hedging system created for trading the intra-day style of GBPJPY / EURJPY and for daily trading.


avatar
17
kaleb 2011.05.05 02:09 
Solved. Remember not to name functions very similar. This was the problem
Back to topics list  

To add comments, please log in or register