Autor Beitrag
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Fr 13.10.06 10:52 
Hallo,

ich habe hier einige Funktionen, welche ich zum zusammenarbeiten mit einem unserer Projekte überreden soll. Eine hiervon scheint ein XML-Document auf korrecktheit zu überprüfen. Leider wir hierbei nicht mit dem mir vertrauten IXMLDocument gearbeitet sondern direckt mit einem DomDocument welches im funktionsverlauf mittels oXMLDoc := CreateDOMDocument; erzeugt wird.

Leider kennt Delphi weder Typ noch funktion und ich Frage mich, wie ich es ihm bekannt machen kann.

Gruß
Klabautermann
iKilledKenny
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 394
Erhaltene Danke: 8

Win XP
D5 Prof, C# Express 2005
BeitragVerfasst: Fr 13.10.06 11:40 
wir arbeiten auch mit dem Dom-object, erzeugen es aber als ole variant mit CreateOleObject...
vielleicht hilft dir das ja ein bischen weiter.
Klabautermann Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Fr 13.10.06 12:12 
Ja, das hat geholfen, nach ein paar anderen anpassungen ( if MyOleVar <> nil then in if not varisnull(MyIleVar) then geändert usw.) lässt es sich jetzt immerhin Compilieren. Ob es wirklich funktioniert kann leider erst nächste Woche überprüft werden :(.

Vielen Dank für die Hilfe

Klabautermann
Ydobon
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 42



BeitragVerfasst: Fr 13.10.06 15:26 
Wo ist das IXMLDocument her? Aus dem Standardzubehör von Delphi, XMLIntf? Das dürfte nicht so richtig aktuell sein.
Es ist wahrscheinlich empfehlenswert eine entsprechende Typenbibliothek aus einer msxmlX.dll neu zu importieren.