0
votes
Vote UpVote

Delphi: delete temporary file after response dispatched – Stack Overflow

The Wiert Corner – A while ago, Marjan Venema was in need for [Archive.is] Delphi SOAP: delete temporary file after response dispatched – Stack Overflow. The solution there is a truly temporary file: a file stream that when the handle closes will have Windows delete the file by setting the correct flags. The construct is functionally identical to the JclFileUtils.TJclTempFileStream [Archive.is]. It passes these [Archive.is] file attribute constant flags to the [Archive.is] CreateFileW Windows API function: FILE_ATTRIBUTE_TEMPORARY FILE_FLAG_DELETE_ON_CLOSE I was glad she asked, despite I wanted a ...
Favorite? Off-Topic? jpluimers @ 2018-08-30 19:04

Statistics

Visits: 100
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)