Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#9
  Alt 5. Mai 2003, 20:31
Weigern sollte er sich nicht. Bei mir (D6) kommt nur die Warnung:
Zitat:
[Warnung] Unit1.pas(7): Unit 'FileCtrl' ist plattformspezifisch
Aber er kompiliert, wie bei allen Warnungen.
Aus der Hilfe zu der Warnung:
Zitat:
The whole unit is tagged (using the platform hint directive) as one that contains material that may not be available on all platforms. If you are writing cross-platform applications, it may cause a problem. For example, a unit that uses objects defined in OleAuto might be tagged using the PLATFORM directive

The $WARN UNIT_PLATFORM ON/OFF compiler directive turns on or off all warnings about the platform directive in units where the platform directive is specified.
Ist eventuell noch ein Fehler drin?
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat