Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get file Size for files > 4 GB

Status
Not open for further replies.

SLider3

Programmer
Jun 17, 2003
56
PT
What function should I use if i want to get the File size o a file and it may have more than 4 GB?
 
There is a call to a filesize (can't remember exact what at this moment) that gives the size in a long AND an integer to the "overflow" part, thus giving the size upp to....hmmm...REAL big!

As i recall it is an older style DOS-like call, i shall try to find asap but i'm a "little" hung-up over work....

Totte
Keep making it perfect and it will end up broken.
 
Well, if you could tell me the name of the function and give me some code example would be great.
Thanks ;-)
 
Well, i have already tried that function but i can't get it to work on BCB. Or it always returns -1 or i get some Exception Erros.
Can you show me how do you use it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top