Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I have a library "Logger" that has its main function "Loggit"
This is code that comes from MT4:
#property library
#property copyright "Copyright 2011, Maieutic."
#property link "http://www.maieutic.com"
#property version "1.00"
#include <stderror.mqh>
string ErrorDescription(int errorcode);
#import
int FileHandle;
double counter;
string Filenamesave="";
int Loggit(string Func, string FileName, int handle, int Logging,int PrintLog,string p1,string p2="",string p3="",
string p4="",string p5="",string p6="",string p7="",string p8="",string p9="",string pa="")
{
-----
------
It is compiled to an "ex5"
I have it defined in my EA:
#import "Logger.ex5"
int Loggit(string Func, string FileName, int handle, int Logging,int PrintLog,string p1,string p2="",string p3="",
string p4="",string p5="",string p6="",string p7="",string p8="",string p9="",string pa="");
#import
When starting the EA I get:
Cannot find 'Loggit' in 'Logger.ex5'