OLE Automation worked in Delphi7, fails in Delphi 2010
- by Tom1952
This line of code worked fine in Delphi 7:
CreateOLEObject('Excel.Application');
but generates the exception below in Delphi 2010:
Project raised exception class EOleSysError with message 'Invalid class string'.
What am I missing?