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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Size

Status
Not open for further replies.

zqadora

Programmer
Nov 13, 2002
10
US
Hello,

I have a file that is over 2GB in size. The file is processed through Borland C++ and it produces an output file that should also be over 2GB in size. But I always get a file just under 2GB in size. Is there a way to control the file size or is this a product limitation.

Thanks,

Ziad
 
I think this is not a limitation. Don't read the whole file in memory. Read smaller portions.

Ion Filipski
1c.bmp
 
It depends on which operating system you are using and which functions you are calling to get the filesize. Post some code to help.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top