|
|
bool IsDllsAllowed( )
如果智能交易函数DLL允许调用,返回TRUE。否则,返回FALSE。
参见 IsLibrariesAllowed(), IsTradeAllowed().
示例:
#import "user32.dll"
int MessageBoxA(int hWnd, string szText, string szCaption,int nType);
...
...
if(IsDllsAllowed()==false)
{
Print("DLL不允许调用。智能交易没有运行。");
return(0);
}
// 智能交易外部调用 DLL函数
MessageBoxA(0,"an message","Message",MB_OK);复制代码 |
|