DelphiFeeds.com

  • Dashboard
  • Popular Stories
  • Trending Stories
  • Feeds
  • Login
Trending now

HeidiSQL Is A Lightweight Open Source Database Management Tool Built In Delphi

Learn How Easy It Is To Connect To Microsoft SQL Server In Windows Delphi Development

Secrets Of Delphi: Discover This Obscure Delphi Character Syntax In This Learn Delphi Video

Learn How to Write Your Own Text Driver in This Learn Delphi Video

Learn More About The Powerful Macros Property Of IFDPhysCommand With FireDAC In Delphi

Quick Logger Is A Powerful Enterprise-Grade Asynchronous Logger For Delphi

Learn How To Use C++ Atomic Operations For Windows Development In C++Builder

Easily Create Ultra-Fast C++ Applications With Low-Level libsimdpp Library In C++Builder

Delphi JOSE JWT Is A Powerful JSON Web Token Library For Delphi

Learn How Not To Use Square Brackets in Your Program In This Learn Delphi Video

Easily Communicate With The TI Gas Sensor Platform Using Delphi And C++ Builder

Powerful Video Game Collection Curation Software Is Built In Delphi

TMS WEB Core v1.6 tips & tricks

D2007 and large text files

1
Marshall Fryman Marshall Fryman 11 years ago in Coding, Delphi 0
Has anyone noticed that Delphi 2007 cannot append to a text file over 2GB in size? I freely admit that I had a problem in my code that created log files that large in the first place... but I also don't expect my compiler to blow up when dealing with files of any size.

My first warning was when the append command started throwing I/O Error 131 messages. Error 131 is negative seek. The only way that could be is if CG has a signed int32 it's using for the filesize. When I hit the upper bounds of int32, it just wraps around to a negative number.

In my case, I just fixed the bug and stopped making huge text files. Otherwise, it looks like I'd have to change how the append function works in the System library. Does anyone know if D2009 also has this problem?

Trending Stories

  • HeidiSQL Is A Lightweight Open Source Database Management Tool Built...

  • Learn How Easy It Is To Connect To Microsoft SQL...

  • Secrets Of Delphi: Discover This Obscure Delphi Character Syntax In...

  • Learn How to Write Your Own Text Driver in This...

  • Learn More About The Powerful Macros Property Of IFDPhysCommand With...

Embarcadero GetIt

  • Trial - TMS Diagram Studio

    Communications package that provides access to the serial ports under Windows. The event-driven […]

  • Trial - TMS FlexCel for VCL & FMX

    Powerful, extensive and flexible component suite for native Excel report and file generation and […]

  • Trial - TMS FMX Cloud Pack

    TMS FMX Cloud Pack is a Delphi and C++Builder component library to seamlessly use all major cloud […]

  • Trial - TMS FMX UI Pack

    Single-source fully cross platform component set for desktop and mobile application development for […]

  • ProDelphi 64-bit & 32-bit. Lite version

    Source code profiler for measuring runtime of 64 and 32 bit applications developed with Delphi. […]

  • Learn Delphi
  • Learn C++
  • Embarcadero Blogs
  • BeginEnd.net
  • Python GUI
  • Firebird News
  • Torry’s Delphi Pages
Copyright DelphiFeeds.com 2021. All Rights Reserved
Embarcadero
Login Register

Login

Lost Password

Register

Lost Password