delight forums Forum Index delight forums
delight software gmbh
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TXMLIniFile

 
Post new topic   Reply to topic    delight forums Forum Index -> Misc
View previous topic :: View next topic  
Author Message
bigger4you



Joined: 19 Nov 2007
Posts: 5

PostPosted: 19.11.2007, 08:12    Post subject: TXMLIniFile Reply with quote

Hallo Elias

Ich habe die TXMLIniFile Komponente gefunden. Jedoch funktioniert die bei mir nicht.

Ich finde XMLWorks nur noch in der Version2. Kannst Du mir die entsprechende Version zukommen lassen?

Gibt es ein Beispiel/Demo mit Sourcecode?

Gruss
Heinz
Back to top
View user's profile Send private message
Elias Zurschmiede
Moderator


Joined: 18 Mar 2003
Posts: 240
Location: St. Gallen

PostPosted: 19.11.2007, 13:11    Post subject: Reply with quote

Hallo Heinz

Eine TXMLIniFile für XMLWorks Version 2 haben wir nicht, was ich Dir anbieten kann ist eine neue TXMLIniFile-Komponente für OpenXML. Ich habe das neue Archiv so eben hoch geladen: http://www.delight.ch/de/47

OpenXML: http://www.philo.de/xml/

Beispiel- und Demo-Source habe ich nicht zur Hand, die Komponente ist von TCustomIniFile abgeleitet und lässt sich wie eine "normale" TIniFile verwenden. Hilfe zur TIniFile findest Du in der OH von Delphi.

Gruss Elias
_________________
delight software gmbh
Back to top
View user's profile Send private message Visit poster's website
bigger4you



Joined: 19 Nov 2007
Posts: 5

PostPosted: 19.11.2007, 20:20    Post subject: Reply with quote

Hallo Elias

Danke für die rasche Antwort.

Ich habe das FModified: Boolen aus dem USEDCPCRYPT Block nach unten verschieben müssen:

Code:
 
private
    FDomParser: TXmlToDomParser;
    FDomImplementation: TDomImplementation;
    FDocument: TdomDocument;
    FAutoSave: Boolean;
    {$IFDEF USEDCPCRYPT}
    FCryptKey: String;
    FDCPCipherClass: TDCP_blockcipherClass;
    {$ENDIF USEDCPCRYPT}
    FModified: Boolean;


Desweiteren ist leider auch da eine neuere Version verfügbar: XDOM_3_1 (stable). Ich habe diese Kompiliert und eingebunden. Jedoch erhalte ich nun bei folgender Zeile 199:
Code:

   FDocument := FDomImplementation.createDocument('inifile', nil);

Es scheint das createDocument in Xdom_3_2 nicht vorhanden ist.

Kannst Du mir die Xdom_3_1 zukommen lassen?

Gruss
Heinz
Back to top
View user's profile Send private message
bigger4you



Joined: 19 Nov 2007
Posts: 5

PostPosted: 20.11.2007, 18:43    Post subject: Reply with quote

Hallo Elias

Ich bin es nochmals.

Im Header zu TXmlIniFile referenzierst Du auf Xdom_2_4. Jedoch hast Du effektiv die Version Xdom_3_1 eingebunden. Nun es gibt bei der Komponente TDomImplementation keine Funktion createDocument(). In der Version 2.4 ist diese aber noch vorhanden!

hat die Komponente TXmlIniFile bei Dir so funktioniert? Wenn ja, wie?
Back to top
View user's profile Send private message
Elias Zurschmiede
Moderator


Joined: 18 Mar 2003
Posts: 240
Location: St. Gallen

PostPosted: 20.11.2007, 18:54    Post subject: Reply with quote

Hallo Heinz

Der Header ist alt....

Ich verwende XDOM 3.1.9 - da gibt es eine createDocument Methode:
Code:
function TDomImplementation.createDocument


Kann Dir XDOM 3.1.9 gerne zukommen lassen falls Du die Version nicht mehr findest... schreib mir bitte schnell ein Email an info@delightsoftware.com dann kann ich es Dir zu senden.

Gruss Elias
_________________
delight software gmbh
Back to top
View user's profile Send private message Visit poster's website
bigger4you



Joined: 19 Nov 2007
Posts: 5

PostPosted: 20.11.2007, 19:06    Post subject: Reply with quote

Danke Elias

Mail ist bereits unterwegs.

Gruss
Heinz
Back to top
View user's profile Send private message
bigger4you



Joined: 19 Nov 2007
Posts: 5

PostPosted: 21.11.2007, 20:37    Post subject: Reply with quote

Hallo Elias

Die Komponente funktioniert jetzt.

Bekomme zwar Warnungen beim Compilieren, aber nur wenn ich DCPCrypt Option einschalten. Komischerweisse bekomme ich aber dann die meisten Warnungen in der Xdom Komponente, aber anyway, es funktioniert mal so das was ich brauche. Danke nochmals für die Sourcen der Libraries.

Gruss
Heinz
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    delight forums Forum Index -> Misc All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group