本文整理自网络,侵删。
//数值转IP
function AddrtoIP(addr: Dword): string;begin Result := format('%d.%d.%d.%d', [Lo(Loword(addr)), //最底位 Hi(Loword(addr)), Lo(Hiword(addr)), Hi(Hiword(addr))]); //最高位end; 相关阅读 >>
idftp tencoding and iidtextencoding
Delphi 生成xml 方法 与 Delphi txt文件操作
Delphi char数组、string和pchar的相互转换
Delphi 格式化输出函数(2): formatdatetime
更多相关阅读请进入《Delphi》频道 >>