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/)
-   -   Delphi Problem bei SimpleRSS Installation (https://www.delphipraxis.net/53085-problem-bei-simplerss-installation.html)

DieHardMan 9. Sep 2005 18:44


Problem bei SimpleRSS Installation
 
Hi, ich möchte SimpleRSS unter Delphi 7 mit Update 1 und Indy10 installieren. Nur leider klappt das nicht. Wenn ich das Delphi7.dpk Package installieren möchte, kommt folgende Fehlermeldung "[Fatal Error] Delphi7.dpk(33): Required package 'indy' not found".
Ich habs dann unter neu installiertem Delphi 7 mit mitinstalliertem Indy 7 nochmal versucht und da gings ohne Probleme.

Dann hab ich versucht SimpleRSS_Echo_Win32_d2005.dpk ist zu installieren weil bei Delphi 2005 ja Indy 10 dabei, dann kommt aber folgendes:
[Error] SimpleRSSTypes.pas(807): Undeclared identifier: 'StrInternetToDateTime'

in der der folgenden Prozedur (Datei: SimpleRSSTypes.pas):

Delphi-Quellcode:
procedure TRFC822DateTime.LoadDateTime(S: string);
var
  aDate: TDateTime;
begin
  try
    aDate := StrInternetToDateTime(S);
  except
    aDate := now;
  end;
  SetDateTime(aDate);
end;
Wenn ich in der Delphi7.dpk Required: indy rausmache, kommt dasselbe.

SimpleRSS funktioniert aber mit Indy10 weil ich das Ganze schon unter Delphi 2005 installiert hatte, Delphi 2005 ist mir aber zu überladen und die Hilfe gefällt mir nicht, deshalb wollt ich wieder zu Delphi 7 zurück.

Hier noch der Inhalt der 2 relevanten install packages, ich hoffe ihr könnt mir helfen.

Delphi-Quellcode:
package Delphi7;

{$R *.res}
{$R 'SimpleRSS.dcr'}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO ON}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES OFF}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DESCRIPTION 'SimpleRSS 0.3 (Echo)'}
{$IMPLICITBUILD OFF}

requires
  rtl,
  xmlrtl,
  inet,
  indy;

contains
  SimpleParserAtom in 'SimpleParserAtom.pas',
  SimpleParserBase in 'SimpleParserBase.pas',
  SimpleParserRDF in 'SimpleParserRDF.pas',
  SimpleParserRSS in 'SimpleParserRSS.pas',
  SimpleRSS in 'SimpleRSS.pas',
  SimpleRSSConst in 'SimpleRSSConst.pas',
  SimpleRSSTypes in 'SimpleRSSTypes.pas',
  SimpleRSSUtils in 'SimpleRSSUtils.pas';

end.

Delphi-Quellcode:
package SimpleRSS_Echo_Win32_d2005;

{$R *.res}
{$R 'SimpleRSS.dcr'}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO ON}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES OFF}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DESCRIPTION 'SimpleRSS 0.3 (Echo)'}
{$IMPLICITBUILD OFF}

requires
  rtl,
  xmlrtl,
  vcl;

contains
  IdGlobal,
  IdGlobalProtocols,
  IdAssignedNumbers,
  IdResour[b]ceStringsCore,
  IdResourceStringsProtocols,
  IdStack,
  IdStackWindows,
  IdWship6,
  IdStackBSDBase,
  IdStackConsts,
  IdWinSock2,
  IdCharSets,
  IdResourceStrings,
  IdException,
  IdCoderMIME,
  IdCoder3to4,
  IdCoder,
  IdBaseComponent,
  IdStream,
  IdStreamVCL,
  IdStreamVCLWin32,
  IdStreamVCLBase,
  IdStreamRandomAccess,
  SimpleRSSUtils in 'SimpleRSSUtils.pas',
  SimpleParserAtom in 'SimpleParserAtom.pas',
  SimpleParserBase in 'SimpleParserBase.pas',
  SimpleParserRDF in 'SimpleParserRDF.pas',
  SimpleParserRSS in 'SimpleParserRSS.pas',
  SimpleRSSConst in 'SimpleRSSConst.pas',
  SimpleRSSTypes in 'SimpleRSSTypes.pas',
  SimpleRSS in 'SimpleRSS.pas';

end.
Nachtrag: Die Funktion die er sucht, befindet sich in idGlobalProtocols.pas, aber auch wenn ich die in den Suchpad des Packages eintrage, ändert sich nichts.


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