![]() |
Re: Schreibrechte prüfen und Windows 7
Zitat:
Delphi-Quellcode:
function KannIchSchreiben(const FileName: String): Boolean;
var fileHandle: Integer; begin fileHandle := FileOpen(FileName, fmOpenWrite); result := (fileHandle >= 0); if result then begin FileClose(fileHandle); end; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:59 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