Recent

Author Topic: Is TCSVDataSet fixed?  (Read 7004 times)

egsuh

  • Hero Member
  • *****
  • Posts: 1736
Re: Is TCSVDataSet fixed?
« Reply #15 on: March 02, 2022, 09:31:14 am »
Quote
How did you build the file? Did you copy it to your own project or did you make sure that the PPU that is provided either with Lazarus (on Windows) or with the FPC installer was updated?

I installed Lazarus 2.2.0 / FPC 3.2.2, Windows 11 64 bit.

I opened csvdataset.pp file in Lazarus IDE, and ran Run>Build File menu. Now csvdataset.ppu file is more recent than csvdataset.pp file.

But the problem still exists --- memory leak is reported at lresources.pp file. Lines 4274,3153, 3180, if exclude control related messages. 

egsuh

  • Hero Member
  • *****
  • Posts: 1736
Re: Is TCSVDataSet fixed?
« Reply #16 on: March 02, 2022, 09:35:16 am »
Please note that I'm using UTF-8 (without BOM) encoded file.

wp

  • Hero Member
  • *****
  • Posts: 13334
Re: Is TCSVDataSet fixed?
« Reply #17 on: March 02, 2022, 10:51:00 am »
I opened csvdataset.pp file, added the above line (and commented out sqldb from uses clause), and built file and then compiled and ran my previous application but the problem still exists.
The csvdataset unit belongs to the FCL, and thus you must rebuild the entire FPC to activate this change. Since this is a bit more tricky than rebuilding the Lazarus IDE, I'd recommend that you simply copy the file csvdataset.pp into your project folder. Later, when a new version with the modified csvdataset has been released you can remove the local copy of the unit again.

egsuh

  • Hero Member
  • *****
  • Posts: 1736
Re: Is TCSVDataSet fixed?
« Reply #18 on: March 02, 2022, 11:06:51 am »
Quote
I'd recommend that you simply copy the file csvdataset.pp into your project folder.

Okay. This works. Thanks a lot !!!

egsuh

  • Hero Member
  • *****
  • Posts: 1736
Re: Is TCSVDataSet fixed?
« Reply #19 on: October 01, 2025, 07:13:04 am »
This has not been finally fixed yet.

Thaddy

  • Hero Member
  • *****
  • Posts: 18703
  • To Europe: simply sell USA bonds: dollar collapses
Re: Is TCSVDataSet fixed?
« Reply #20 on: October 01, 2025, 08:53:23 am »
Do you expect fixes for fpc 3.2.2? These fixes are in 3.2.3 and 3.2.4rc or in trunk.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

 

TinyPortal © 2005-2018