Help me with Error: dll calls are not allowed

 

When I using the followin code:

#import "wininet.dll"

int InternetOpenA(string a0, int a1, string a2, string a3, int a4);

#import


The call of InternetOpenA is like:

int abc= InternetOpenA("abcde", 0, "0", "0",268);

It reports that dll calls are not allowed; "wininet.dll' - "InternetOpenA"

I don't know why. Anybody help me with this, please.

 

Found the answer myself:

https://www.mql5.com/en/forum/104419