bool IsDllsAllowed( )
Returns TRUE if the function DLL call is allowed for the expert, otherwise
returns FALSE.
DLL 呼び出しが、エキスパートで許可されている場合は、TRUE を返し、そうでない場合は、FALSE を返します。
参照 IsLibrariesAllowed()、IsTradeAllowed()
Sample:
サンプル:
#import "user32.dll"
int MessageBoxA(int hWnd, string szText, string szCaption,int nType);
...
...
if(IsDllsAllowed()==false)
{
Print("DLL call is not allowed. Experts cannot run.");
return(0);
}
// expert body that calls external DLL functions
MessageBoxA(0,"an message","Message",MB_OK);
|