摘要:
uses Windows; 在工程文件中添加一句代码,如下: Application.Initialize; //添加以下一句解决外文系统乱码问题 SetThreadLocale(DWORD(Word(SORT_DEFAULT) shl 16) or DWORD(Word(SUBLANG_CHINE 阅读全文
摘要:
function GetFileSize(const fName: AnsiString): Int64;var hFile: THandle;begin hFile := _lopen(PAnsiChar(fName), OF_READ); Result := FileSeek(hFile, In 阅读全文