Unresolved Import function call

 

I am trying to use the import function on mt4 and I keep getting the error unresolved import function call, what could be the problem

#import "tlib.ex4"

double Min(double a,double b,double c,double d,double e);

#import
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
  {int b = 56;
  int c =34;
  int e = 17;
  int a = 65;
  int d = 13;
//---
//Alert (" I started ");
   double t = Min(a,b,c,d,e);
   Alert(t);
  }

Above is the code I use in the script to call the function.

This is the library

//+------------------------------------------------------------------+
//| My function                                                      |
//+------------------------------------------------------------------+
// int MyCalculator(int value,int value2) export
//   {
//    return(value+value2);
//   }
//+------------------------------------------------------------------+
double Min(double a,double b,double c,double d,double e)
  {
   double minimum=a;
   if(b<minimum)
      minimum=b;
   if(c<minimum)
      minimum=c;
   if(d<minimum)
      minimum=d;
   if(e<minimum)
      minimum=e;
   return (minimum);
  }

Am I missing anything?

 
double Min(double a,double b,double c,double d,double e) export
 
Alain Verleyen:
Thanks a lot. It works... Can't believe I missed that
 

hello,

i bought an EA recently and i got the shown errors... i'm not expert in coding ... can someone excplain to me if thsi issue can be solved ?

i recived only a ddl secured ex4 EA file from the seller 

Files:
image.png  110 kb
 
msnayl:

hello,

i bought an EA recently and i got the shown errors... i'm not expert in coding ... can someone excplain to me if thsi issue can be solved ?

i recived only a ddl secured ex4 EA file from the seller 

You should contact with the seller about how to install this EA.
 
Sergey Golubev:
You should contact with the seller about how to install this EA.

thank you , he is saying that this a programmer work and he is asking for another 60 % of the EA price !!... 


the seller asking to to activate DLL security installation!


what does this mean ?.. he is telling that this a programmer work ! and he wants extra money from me 



can you help ?

 
msnayl:

thank you , he is saying that this a programmer work and he is asking for another 60 % of the EA price !!... 


the seller asking to to activate DLL security installation!


what does this mean ?.. he is telling that this a programmer work ! and he wants extra money from me 



can you help ?

No one will make a support here for the product which you bought from externat Market sorry.
And this is my suggestion which I am posting all the time -

Forum on trading, automated trading systems and testing trading strategies

...

Sergey Golubev, 2020.01.16 06:35

There is one rule which some people follow:
subscribe to the signal or purchase the product from the user/seller/provider you know in person or you know by activity on the forum.

Because if you purchased something so I may ask:
"Do you know the seller in person, or you are familiar with him on this forum?"
If you say: "Not" so it will be very strange case for me ...

Just my optinion.

 
msnayl:

thank you , he is saying that this a programmer work and he is asking for another 60 % of the EA price !!... 


the seller asking to to activate DLL security installation!


what does this mean ?.. he is telling that this a programmer work ! and he wants extra money from me 



can you help ?

by any chance did you get it of youtube, and how did it go did you end up payin more?

Reason: