Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Using Windows API function MoveFile to check if a filename is valid… *– via Stack Ove (https://www.delphipraxis.net/198241-using-windows-api-function-movefile-check-if-filename-valid%85-%2A%96-via-stack-ove.html)

DP News-Robot 17. Okt 2018 11:20

Using Windows API function MoveFile to check if a filename is valid… *– via Stack Ove
 
This has a really neat Windows API trick [WayBack]*delphi – How can I sanitize a string for use as a filename? – Stack Overflow*by [WayBack] Alex. Via:*[WayBack] Interesting use of MoveFile, with NIL as the first parameter. https://stackoverflow.com/a/961500/49925 – Thomas Mueller (dummzeuch) – Google+ function IsValidFilePath(const FileName: String): Boolean; var S: String; I: Integer; begin […]

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:53 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 by Thomas Breitkreuz