Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Nicht abgeschlossene bedingte Direktive - Wer weiß RAT? (https://www.delphipraxis.net/192385-nicht-abgeschlossene-bedingte-direktive-wer-weiss-rat.html)

wschrabi 13. Apr 2017 21:42

Nicht abgeschlossene bedingte Direktive - Wer weiß RAT?
 
Hallo ich wollte eben das erste mal die EMS Adv Export VLC mit RAD kompilieren, und bekomme diesen Error:

E2280 Nicht abgeschlossene bedingte Direktive

Das File sieht so aus, wo er meckert und dies dann anzeigt.
Delphi-Quellcode:
package QExport4RT_D23;

{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO ON}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION OFF}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES ON}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DEFINE DEBUG}
{$R *.res}
{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO OFF}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION OFF}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES ON}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DEFINE DEBUG}
{$ENDIF IMPLICITBUILDING}
{$DESCRIPTION 'EMS Advanced Export Component Suite'}
{$RUNONLY}
{$IMPLICITBUILD OFF}

requires
  vcl,
  dbrtl,
  vcldb,
  vclx,
  adortl,
  soaprtl,
  vclimg;

contains
  QExport4IniFiles in 'QExport4IniFiles.pas',
  QExport4EmsWideStrUtils in 'QExport4EmsWideStrUtils.pas',
  QExport4EmsWideStrings in 'QExport4EmsWideStrings.pas',
  QExport4 in 'QExport4.pas',
  QExport4LaTeX in 'QExport4LaTeX.pas',
  QExport4XML in 'QExport4XML.pas',
  QExport4RTFList in 'QExport4RTFList.pas',
  QExport4RTF in 'QExport4RTF.pas',
  QExport4HTML in 'QExport4HTML.pas',
  QExport4SQL in 'QExport4SQL.pas',
  QExport4HTMLTemplates in 'QExport4HTMLTemplates.pas',
  QExport4ASCII in 'QExport4ASCII.pas',
  QExport4Clipboard in 'QExport4Clipboard.pas',
  QExport4DBF in 'QExport4DBF.pas',
  QExport4XLS in 'QExport4XLS.pas',
  QExport4Common in 'QExport4Common.pas',
  fuQExport4XLSColorEditor in 'fuQExport4XLSColorEditor.pas' {fmQExport4XLSColorEditor},
  fuQExport4About in 'fuQExport4About.pas' {fmQExport4About},
  fuQExport4Progress in 'fuQExport4Progress.pas' {fmQExport4Progress},
  QExport4PDF in 'QExport4PDF.pas',
  QExport4Options in 'QExport4Options.pas',
  QXMLWriter in 'QXMLWriter.pas',
  QExport4MSOfficeCommon in 'QExport4MSOfficeCommon.pas',
  QExport4Xlsx in 'QExport4Xlsx.pas',
  QExport4Docx in 'QExport4Docx.pas',
  QExport4XLSFile in 'QExport4XLSFile.pas',
  QExport4XLSUtils in 'QExport4XLSUtils.pas',
  QExport4XLSCommon in 'QExport4XLSCommon.pas',
  QExport4XLSConsts in 'QExport4XLSConsts.pas',
  QExport4Dialog in 'QExport4Dialog.pas' {QExport4DialogF},
  QExport4CustomSource in 'QExport4CustomSource.pas',
  QExport4Types in 'QExport4Types.pas',
  QExport4StrIDs in 'QExport4StrIDs.pas',
  ADO_QExport4Access in 'ADO_QExport4Access.pas',
  ADO_QExport4Database in 'ADO_QExport4Database.pas',
  fuQExport4License in 'fuQExport4License.pas' {fmQExport4License},
  QExport4zUtil in 'QExport4zUtil.pas',
  QExport4ADLER in 'QExport4ADLER.pas',
  QExport4BaseArchiveClass in 'QExport4BaseArchiveClass.pas',
  QExport4BaseODFClass in 'QExport4BaseODFClass.pas',
  Qexport4Crc in 'Qexport4Crc.pas',
  QExport4infblock in 'QExport4infblock.pas',
  QExport4infcodes in 'QExport4infcodes.pas',
  QExport4inffast in 'QExport4inffast.pas',
  QExport4inftrees in 'QExport4inftrees.pas',
  QExport4infutil in 'QExport4infutil.pas',
  QExport4libdatei in 'QExport4libdatei.pas',
  QExport4ODS in 'QExport4ODS.pas',
  QExport4ODT in 'QExport4ODT.pas',
  QExport4trees in 'QExport4trees.pas',
  QExport4uCommon in 'QExport4uCommon.pas',
  QExport4Unzip in 'QExport4Unzip.pas',
  QExport4zcompres in 'QExport4zcompres.pas',
  QExport4ZDEFLATE in 'QExport4ZDEFLATE.pas',
  QExport4ZINFLATE in 'QExport4ZINFLATE.pas',
  QExport4zip in 'QExport4zip.pas',
  QExport4ZipMcpt in 'QExport4ZipMcpt.pas',
  QExport4ziputils in 'QExport4ziputils.pas',
  QExport4Zlib110 in 'QExport4Zlib110.pas',
  QExport4zuncompr in 'QExport4zuncompr.pas';

end.
Kann mir jemand helfen und sagen was ich ändern muss?
DANKE
mfg
WS

nahpets 13. Apr 2017 21:59

AW: Nicht abgeschlossene bedingte Direktive - Wer weiß RAT?
 
Bin mir nicht sicher, aber es sieht so aus, als sei alles vor {$R *.res} doppelt.

Jedenfalls gibt es zwei {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users} aber nur ein {$ENDIF IMPLICITBUILDING}.

jaenicke 14. Apr 2017 06:12

AW: Nicht abgeschlossene bedingte Direktive - Wer weiß RAT?
 
Das ist ein bekannter Fehler in Delphi, dass die Projektdatei manchmal von der IDE so kaputt gemacht wird. Da bleibt nur die doppelten Teil zu löschen. Das passiert meistens innerhalb der uses-Liste.

Entsprechende Tickets u.a. von mir wurden aber mit as-designed geschlossen, das soll also so sein.

wschrabi 14. Apr 2017 08:43

AW: Nicht abgeschlossene bedingte Direktive - Wer weiß RAT?
 
Liste der Anhänge anzeigen (Anzahl: 3)
Danke ja das wars, doch jetzt kommen andere Fehler:
Siehe Bild. Was heißt das mit dem 'overload' ?

Lösung: Habs einfach hinzugfügt - jetzt klappt dies.

Doch ist mir was anderes schleierhaft.
HIer im BIld 2 meine Vorkommen im gesam. PRojekt und der Error.

Weiß wer Rat?


Danke vielmals.


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:50 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