procedure OutputDebug(const str: string; const Args: array of const); begin OutputDebugString(PWideChar(Format(str, Args))); end;
本文介绍了一个使用 Delphi 进行输出调试信息的方法。通过定义 procedureOutputDebug 函数,可以将指定字符串及其参数格式化后输出到调试环境中,便于开发者进行程序调试。
procedure OutputDebug(const str: string; const Args: array of const); begin OutputDebugString(PWideChar(Format(str, Args))); end;
转载于:https://www.cnblogs.com/YiShen/p/9687744.html
804

被折叠的 条评论
为什么被折叠?