本文整理自网络,侵删。
function IsDebuggerPresent: boolean; external 'kernel32.dll';
{$IFDEF DEBUG}
if (IsDebuggerPresent) then ThreadNumber := 1;
{$ENDIF}
相关阅读 >>
Delphi 解决idtcpclient和idtcpserver通信中文乱码问题
xe7提示找不到sharedactivitycontext函数
更多相关阅读请进入《Delphi》频道 >>