Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Wie function IsNetworkPath(APath : string) : Boolean; umsetzen? (https://www.delphipraxis.net/166325-wie-function-isnetworkpath-apath-string-boolean%3B-umsetzen.html)

TiGü 15. Mär 2012 15:18

AW: Wie function IsNetworkPath(APath : string) : Boolean; umsetzen?
 
Zitat:

Zitat von Uwe Raabe (Beitrag 1149830)
Unter D2010+ hätte ich jetzt
Delphi-Quellcode:
TPath.IsUNCPath
aus IOUtils.pas eingeworfen.

Hm, wenn man mal nachdebuggt (XE2), testet diese Funktion auch nur auf '\' in den ersten beiden Stringpositionen.

Die Lösung mit PathIsUNC() aus Shlwapi.pas war übrigens die Lösung für mein Problem (auch da die Anwendung mit 2009er Compiler gebuildet wird). Vielen Dank dafür!


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:53 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz