Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

Help! Find similar branches


AVALLOGIGS   (2001-12-20 19:37) [0]

Hi, can anyone find out the size of the file up to a byte. and then through Filesize it rounds off whether or not the exact size is obtained. HELP YOU CAN !!!
THANK YOU IN ADVANCE!



SergVlad   (2001-12-20 23:16) [1]

Try it like this

SearchRec: TSearchRec;

if SysUtils.FindFirst (FileName, faAnyFile, SearchRec) = 0 then
intFileSize: = SearchRec.Size; // up to 2 ^ 31 bytes

SysUtils.FindClose (SearchRec);



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top









Memory: 0.8 MB
Time: 0.038 c
4-22502
Alexander
2001-11-06 11:00
2002.01.08
How to get an icon for a registered extension in the system


1-22091
Mikhalyov Dmitry
2001-12-19 16:02
2002.01.08
question from pascal


3-21936
ks
2001-12-05 06:42
2002.01.08
Delphi5 + SQL Server7 is fine, and Delphi5 + SQL 2000 is nonsense


1-22043
Serge
2001-12-18 19:18
2002.01.08
Deleting an object


4-22481
Stropal
2001-11-03 10:44
2002.01.08
Work printers directly. Advise





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish