Bonjour
J ai telechargé une bibliotheque et un exemple de code ici http://www.min2006.ru/_sgg/eng/_sgg/m2_1.htm
Le zip du projet exemple contient un exe qui fonctionne parfaitement.
Quand je le retire et compile, l'exe cree ne prend pas en compte certaines fonctions de la dll appellée alors que d autres de cette même dll fonctionnent parfaitement.
Ma question : Qu'ai-je manqué ;-)
la doc precise cela :
j en deduis que je dois inclure mforex.h au projet avant la compilation mais comment ?Files of the library
The structure of the developed complex includes files:
Mforex2.dll - the dynamically joined library;
Mforex2.ex4 - the file of the adviser;
Mforex2.lib - the file of the library of import which contains the description of functions of the library;
Mem.dll - the dynamic library for operation with divided storage areas;
Mforex.h - the heading file for inclusion in projects;
Terminal.dat - a text file containing the description paths to your terminal. For example: C:\Program Files\MetaTRADER 4\terminal.exe
Except for indicated, in DLL directory of the library at origin of erratic situations Protokol.dat file with the description and time of errors will be created.
Merci pour votre aide.
Pour info cette lib sert à communiquer avce metatrader4, une plateforme de trading.
Partager