Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi D2005PE VER190 nix deffiniert ? (https://www.delphipraxis.net/48816-d2005pe-ver190-nix-deffiniert.html)

turboPASCAL 30. Jun 2005 20:08


D2005PE VER190 nix deffiniert ?
 
Hi, so ne' Sache aber auch... :?

Sind die Compilerdirektiven in D2005PE ala VER180, VER190 nicht deffiniert ?
(Wie sieht das bei den "normalen" Versionen aus ist dort VER190 deffiniert ?)

Flocke 30. Jun 2005 22:07

Re: D2005PE VER190 nix deffiniert ?
 
Du meinst sicher "VER170" für Delphi 2005.

turboPASCAL 30. Jun 2005 22:47

Re: D2005PE VER190 nix deffiniert ?
 
Also ist in Delphi 2005(PE) nur "VER170" deffiniert ?

Toll, VER170:
Zitat:

Zitat von 2005(PE) Hilfe
Thema nicht vorhanden...

und VER140:
Zitat:

Zitat von 2005(PE) Hilfe
VER140 Dieses Symbol ist immer definiert. Es gibt an,...

getestet mit:
Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
begin
{$IFDEF VER140}
  showmessage('VER140');
{$ENDIF}
end;
kömmt nix. (grrrh!)

THX.

Christian Seehase 1. Jul 2005 00:25

Re: D2005PE VER190 nix deffiniert ?
 
Moin Matti,

wenn Du in D2005 VER140 verwendest darf auch nichts kommen.
Wäre VER140 bei D2005 definiert, so würde so manche Compilierung schiefgehen.
Schau Dir z.B. mal die Sourcen, speziell die .inc Datei von SysnEdit an.
VER140 hast Du nur bei D6, VER150 bei D7, VER160 bei D8 und VER170 bei D2005.

turboPASCAL 1. Jul 2005 09:59

Re: D2005PE VER190 nix deffiniert ?
 
Moin, moin Christian.

Zitat:

wenn Du in D2005 VER140 verwendest darf auch nichts kommen.
Wäre VER140 bei D2005 definiert, so würde so manche Compilierung schiefgehen.
In der Hilfe (Delphi 2005 PE) seht, es sei immer def., naja, habes es eigentlich nicht geglaubt. :wink:
Zitat:

...Schau Dir z.B. mal die Sourcen, speziell die .inc Datei von SysnEdit an.
Ich nix finden, ich PE, und die Hilfe ist auch nicht hilfreich.

Zitat:

...VER150 bei D7, VER160 bei D8 und VER170 bei D2005.
Thx, das habe ich Gesucht.

Robert Marquardt 1. Jul 2005 10:10

Re: D2005PE VER190 nix deffiniert ?
 
Es empfiehlt sich die jedi.inc der JVCL oder JCL zu benutzen.
Dort sind allerlei nuetzliche DEFINEs enthalten (speziell auch zu den Compilerversionen).

turboPASCAL 1. Jul 2005 10:17

Re: D2005PE VER190 nix deffiniert ?
 
@Robert Marquardt

Ich verwende jetzt die Compilers.inc von GLScene:
Delphi-Quellcode:
//----------------------------------------------------------------------------------------------------------------------
// Include file to determine which compiler is currently being used to build the project/component.
// This file uses ideas from Brad Stowers DFS.inc file ([url]www.delphifreestuff.com[/url]).
//
// Portions created by Mike Lischke are Copyright
// (C) 1999-2003 Dipl. Ing. Mike Lischke. All Rights Reserved.
//----------------------------------------------------------------------------------------------------------------------
// The following symbols are defined:
//
// - COMPILER_1    : Kylix/Delphi/BCB 1.x is the compiler.
// - COMPILER_1_UP : Kylix/Delphi/BCB 1.x or higher is the compiler.
// - COMPILER_2    : Kylix/Delphi 2.x or BCB 1.x is the compiler.
// - COMPILER_2_UP : Kylix/Delphi 2.x or higher, or BCB 1.x or higher is the compiler.
// - COMPILER_3    : Kylix/Delphi/BCB 3.x is the compiler.
// - COMPILER_3_UP : Kylix/Delphi/BCB 3.x or higher is the compiler.
// - COMPILER_4    : Kylix/Delphi/BCB 4.x is the compiler.
// - COMPILER_4_UP : Kylix/Delphi/BCB 4.x or higher is the compiler.
// - COMPILER_5    : Kylix/Delphi/BCB 5.x is the compiler.
// - COMPILER_5_UP : Kylix/Delphi/BCB 5.x or higher is the compiler.
// - COMPILER_6    : Kylix/Delphi/BCB 6.x is the compiler.
// - COMPILER_6_UP : Kylix/Delphi/BCB 6.x or higher is the compiler.
// - COMPILER_7    : Kylix/Delphi/BCB 7.x is the compiler.
// - COMPILER_7_UP : Kylix/Delphi/BCB 7.x or higher is the compiler.
// - COMPILER_8    : Kylix/Delphi/BCB 8.x is the compiler.
// - COMPILER_8_UP : Kylix/Delphi/BCB 8.x or higher is the compiler.
// - COMPILER_9    : Kylix/Delphi/BCB 9.x is the compiler.
// - COMPILER_9_UP : Kylix/Delphi/BCB 9.x or higher is the compiler.
//
// Only defined if Windows is the target:
// - CPPB       : Any version of BCB is being used.
// - CPPB_1      : BCB v1.x is being used.
// - CPPB_3      : BCB v3.x is being used.
// - CPPB_3_UP  : BCB v3.x or higher is being used.
// - CPPB_4      : BCB v4.x is being used.
// - CPPB_4_UP  : BCB v4.x or higher is being used.
// - CPPB_5      : BCB v5.x is being used.
// - CPPB_5_UP  : BCB v5.x or higher is being used.
// - CPPB_6      : BCB v6.x is being used.
// - CPPB_6_UP  : BCB v6.x or higher is being used.
//
// Only defined if Windows is the target:
// - DELPHI     : Any version of Delphi is being used.
// - DELPHI_1    : Delphi v1.x is being used.
// - DELPHI_2    : Delphi v2.x is being used.
// - DELPHI_2_UP : Delphi v2.x or higher is being used.
// - DELPHI_3    : Delphi v3.x is being used.
// - DELPHI_3_UP : Delphi v3.x or higher is being used.
// - DELPHI_4    : Delphi v4.x is being used.
// - DELPHI_4_UP : Delphi v4.x or higher is being used.
// - DELPHI_5    : Delphi v5.x is being used.
// - DELPHI_5_UP : Delphi v5.x or higher is being used.
// - DELPHI_6    : Delphi v6.x is being used.
// - DELPHI_6_UP : Delphi v6.x or higher is being used.
// - DELPHI_7    : Delphi v7.x is being used.
// - DELPHI_7_UP : Delphi v7.x or higher is being used.
// - DELPHI_8    : Delphi v8.x is being used.
// - DELPHI_8_UP : Delphi v8.x or higher is being used.
// - DELPHI_9    : Delphi v9.x is being used.
// - DELPHI_9_UP : Delphi v9.x or higher is being used.
//
// Only defined if Linux is the target:
// - KYLIX      : Any version of Kylix is being used.
// - KYLIX_1     : Kylix 1.x is being used.
// - KYLIX_1_UP : Kylix 1.x or higher is being used.
// - KYLIX_2     : Kylix 2.x is being used.
// - KYLIX_2_UP : Kylix 2.x or higher is being used.
// - KYLIX_3     : Kylix 3.x is being used.
// - KYLIX_3_UP : Kylix 3.x or higher is being used.
//
// Only defined if Linux is the target:
// - QT_CLX     : Trolltech's QT library is being used.
//
// Only defined if Delphi.NET is the target:
// - DELPHI.NET     : Any version of Delphi.NET is being used.
// - DELPHI.NET_1    : Delphi.NET version 1.x is being used.
// - DELPHI.NET_1_UP : Delphi.NET version 1.x is being used.
//--------------------------------------------------------------
Danke.

Robert Marquardt 1. Jul 2005 10:29

Re: D2005PE VER190 nix deffiniert ?
 
Das ist fast das Gleiche.
Das mit den .net Deklarationen sollten wir in jedi.inc uebernehmen.
jedi.inc hat dafuer noch ein paar nuetzliche HAS_ und SUPPORTS_ Deklarationen.


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