bool IsLibrariesAllowed( )
Returns TRUE if the expert can call library function, otherwise returns
FALSE.
エキスパートがライブラリ関数を呼び出すことが出来る場合は、TRUEを返し、そうでない場合は、FALSE を返します。
参照 IsDllsAllowed()、IsTradeAllowed()
Sample:
サンプル:
#import "somelibrary.ex4"
int somefunc();
...
...
if(IsLibrariesAllowed()==false)
{
Print("Library call is not allowed.");
return(0);
}
// expert body that calls external DLL functions
somefunc();
|