I'm trying to create a XMLDOMDocument in Delphi 6.0. I have the following code for that:
XMLDoc : IXMLDOMDocument;
XMLDoc := CreateOleObject ('Microsoft.XMLDOM') as IXMLDomDocument;
XMLDoc.async := False;
//Statement for loading a file to that object...
But I have errors:
1)"Undeclared identifier: 'IXMLDOMDocument'"
2)"Undeclared identifier: 'CreateOleObject'"
3)"Operator not applicable to this operand type" (This is for CreateOleObject statement)
4)"Missing operator or semicolon" (This is for XMLDoc.async statement)
What should I do to get rid of these errors? I need your answer as soon as possible. Thank you for your help...