마음의 안정을 찾기 위하여 - RTC(RealThin Client) 라이브러리에서 Local File Handling하는 함수
2079419
461
478
관리자새글쓰기
태그위치로그방명록
별일없다의 생각
dawnsea's me2day/2010
색상(RGB)코드 추출기(Color...
Connection Generator/2010
최승호PD, '4대강 거짓말 검...
Green Monkey**/2010
Syng의 생각
syng's me2DAY/2010
천재 작곡가 윤일상이 기획,...
엘븐킹's Digital Factory/2010
RTC(RealThin Client) 라이브러리에서 Local File Handling하는 함수
My Library/RTC | 2007/09/10 09:35
출처 : http://www.realthinclient.com/forum/?cmd=viewtopic&topic_id=25&section_id=1&sid=

"RtcInfo.Pas 파일에 존재하는 File Control관련 함수들입니다."

Local File access functions (rtcInfo.pas)

Here is a list of functions from RTC, which you can use to work with local files:

// Does file with name “fname” exist?
function File_Exists(const fname:string):boolean;

// Size of the file with name “fname”
function File_Size(const fname:string):int64;

// Read “Size” bytes of file “fname”, starting at “Loc” (0=beginning)
function Read_File(const fname:string;
                           Loc,Size:int64):string; overload;

// Read complete file “fname”
function Read_File(const fname:string):string; overload;

{ Scan up to “Size” bytes of file “fname” for string “search_string”, starting at “Loc” (0=beginning), using up to “BufferSize” memory for scanning.   Larger buffer size will increase scanning speed, but also use more memory. Recommended is a “BufferSize” values of 16000 or more bytes. If “search_string” is found, its location in file is returned (0=beginning). If “search_string” is not found, this function returns -1. }
function Scan_File(const fname,
                          search_string:string;
                          BufferSize:integer;
                          Loc,Size:int64):int64;

// Delete file “fname”
procedure Delete_File(const fname:string);

// Write “Data” to file “fname” starting at “Loc” (0=beginning).
function Write_File(const fname:string;
                            const Data:string;
                            Loc:int64):boolean; overload;

// Write “Data” to file “fname”, overwriting old file.
function Write_File(const fname:string;
                           const Data:string):boolean; overload;

// File date and time
function File_Age(const fname:string):TDateTime;

// Get Temporary Directory path
function GetTempDirectory: String;

// Get Temporary File Name inside a Temporary Directory
function GetTempFile:string;
2007/09/10 09:35 2007/09/10 09:35
Article tag list Go to top
View Comment 0
Trackback URL :: 이 글에는 트랙백을 보낼 수 없습니다
 
 
 
 
: [1] ... [685][686][687][688][689][690][691][692][693] ... [862] :
«   2022/12   »
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
전체 (862)
출판 준비 (0)
My-Pro... (41)
사는 ... (492)
블로그... (22)
My Lib... (32)
게임 ... (23)
개발관... (3)
Smart ... (1)
Delphi (75)
C Builder (0)
Object... (0)
VC, MF... (9)
Window... (1)
Open API (3)
Visual... (0)
Java, JSP (2)
ASP.NET (0)
PHP (4)
Database (12)
리눅스 (28)
Windows (23)
Device... (1)
Embedded (1)
게임 ... (0)
Web Se... (2)
Web, S... (19)
잡다한... (5)
프로젝트 (0)
Personal (0)
대통령... (9)
Link (2)