![]() |
Re: FileSize arbeitet ungenau oder ?
Zitat:
So:
Delphi-Quellcode:
const
MyFile = 'c:\test.txt'; var fs: TFileStream; size: Cardinal; begin fs := TFileStream.Create(MyFile, fmOpenRead or fmShareDenyWrite); try size := fs.Size; finally fs.Free; end; end; |
Re: FileSize arbeitet ungenau oder ?
hi
hmm..., tut mir leid weis ich auch nicht. im übrigen find ich diese property auch nicht! frag ma christian seehase ich wollt dir blos sagen wie du den filestream erstellst! gruß christoph |
Re: FileSize arbeitet ungenau oder ?
Danke hat schon alles geklappt... tschuldigung dass ich nicht mal weiß wie man Properties richtig einsetzt :oops:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:25 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz