Thema: Delphi Konsolenanwendung uses

Einzelnen Beitrag anzeigen

hathor
(Gast)

n/a Beiträge
 
#6

AW: Konsolenanwendung uses

  Alt 10. Jul 2015, 13:26
System.Sysutils.pas ist EIN File, so wie die anderen auch...

Wer noch ältere DELPHI-Versionen auf der Platte hat, kann Probleme bekommen.
Man sollte IMMER die USES-Files angeben, die man auch benutzen will!

unit System.SysUtils;
{$H+,B-,R-}
{$WARN SYMBOL_DEPRECATED OFF}
{$WARN SYMBOL_PLATFORM OFF}
{$WARN WIDECHAR_REDUCED OFF}
{$WARN UNSAFE_TYPE OFF}

enthält z.B. Compiler-Einstellungen, die frühere Versionen nicht haben.

Beispiele:
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Winapi.Winsock, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Buttons, WinApi.WinInet, WinApi.ShlObj, WinApi.ActiveX, WinApi.ShellAPI, System.Win.Registry, System.Inifiles, System.Win.ComObj, usw.

Geändert von hathor (10. Jul 2015 um 13:36 Uhr)
  Mit Zitat antworten Zitat