I need to command Corel Draw through OLE Automation. In older versions (both Corel Draw and Delphi) it was enough to import the Type Library. Now I'm trying but I can't because many errors appear.
I follow this procedure:
Component -> Import Component -> VCL for Delphi 32 -> Import a Type Library -> Corel - Corel Draw 20.1 Type Library (v.14.1)
-> Insert in ActiveX Palette page and flag "Generate Component Wrappers"
-> Install to New Package (I chose CorelDrawPkg.dpk as filename)
The IDE generate the unit CorelDRAW_TLB but the compilermresponds with 101 errors which I can't fix
Can anyone help me?
CorelDRAW_TLB.pas
Errors..txt