Hi, I’m using RO Pascal Script for a while now. I would also like to use com objects in Pascal Script. I’ve added the necessary code like SIRegister_ComObj(x) and RIRegister_ComObj(se)). When I compile the Script I get the following error message: ‘Exception: CoInitialize has not been called, ProgID: “microsoft.xmldom”’
Code:
XML := CreateOleObject(‘Microsoft.XMLDOM’);
Where do I need to call ‘CoInitialize’. I tried a lot of things. I know how to do this in delphi but in Pascal Script?
Help is much appreciated,
Pascal