Mystery Error

 

Testing some EA for news events, the two lines of code compile fine:

#import "kernel32.dll"
int WinExec(string NameEx, int dwFlags);

But when it runs it generates an error:

dll calls are not allowed; 'kernel32.dll'-'WinExec'

I think many people have ran this EA just fine, did not see any errors or messages stating a problem, anybody know why?

Thanks!

 

Reason: