AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein faArchive, faSysFile is specific to a platform
Thema durchsuchen
Ansicht
Themen-Optionen

faArchive, faSysFile is specific to a platform

Ein Thema von Rollo62 · begonnen am 18. Feb 2016 · letzter Beitrag vom 19. Feb 2016
 
Rollo62

Registriert seit: 15. Mär 2007
3.930 Beiträge
 
Delphi 12 Athens
 
#1

faArchive, faSysFile is specific to a platform

  Alt 18. Feb 2016, 15:25
Hallo zusammen,

die Fileattribute sind Platformspezifisch, so wie so gut.

Delphi-Quellcode:
  faInvalid = -1;
  faReadOnly = $00000001;
  faHidden = $00000002 platform; // only a convention on POSIX
  faSysFile = $00000004 platform; // on POSIX system files are not regular files and not directories
  faVolumeID = $00000008 platform deprecated; // not used in Win32
  faDirectory = $00000010;
  faArchive = $00000020 platform;
  faNormal = $00000080;
  faTemporary = $00000100 platform;
  faSymLink = $00000400 platform; // Available on POSIX and Vista and above
  faCompressed = $00000800 platform;
  faEncrypted = $00004000 platform;
  faVirtual = $00010000 platform;
  faAnyFile = $000001FF;
Aber wen kann die Kommentare ergänzen für die restlichen Attribute ?
Bedeutet Platform immer MsWindows ?

Ich würde das gerne beim Aufruf auskommentieren, damit die blöden Warnings weg sind,
bin mir aber nicht sicher ob das nicht doch zuviel des Guten bei OSX, Android oder iOS etc. ist.

So in der Art:
Delphi-Quellcode:
  faInvalid
  , faReadOnly
{$IF    DEFINED(OSX) or DEFINED(ANDROID)} // ist ANDROID Posix ???
  , faHidden // only a convention on POSIX
{$ENDIF DEFINED(OSX) or DEFINED(ANDROID)}
  , faSysFile // on POSIX system files are not regular files and not directories
{$IF    DEFINED(MSWINDOWS)}
  , faVolumeID // not used in Win32
{$ENDIF DEFINED(MSWINDOWS)}
  , faDirectory
{$IF    DEFINED(MSWINDOWS)}
  , faArchive
{$ENDIF DEFINED(MSWINDOWS)}
  , faNormal
  , faTemporary //???
  , faSymLink //???
  , faCompressed //???
  , faEncrypted //???
  , faVirtual //???
  , faAnyFile
Kennt sich vielleicht jemand damit aus und hat einen Tip wo man findet was "platform" wirklich bedeutet ?

Rollo
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:39 Uhr.
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