How to use DLL with script?

 

Hi,

I wanted to use an input box with my script, but because windows api doesn't have this function nor MQL, a DLL is needed for this. I found one on the forum, so I downloaded it and put it on MetaTrader 4\experts\scripts folder (also tried experts and metatrader folder). I wrote this on the script :

#import "inputbox.dll"
   string InputBox(string prompt, string title, string default_value);
#import

The whole script looks like this:

#import "inputbox.dll"
   string InputBox(string prompt, string title, string default_value);
#import
extern datetime InitialDate;
extern datetime EndDate;
int start()
  {
   InputBox("a", "b", "c");
   return(0);
  }
//+------------------------------------------------------------------+

It doesn't appear anything... What's wrong?

EDIT: Found the problem. I didn't have the Allow DLL functions option checked.

Reason: