Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OLE Automation Export problem

0 views
Skip to first unread message

Alex Boyce

unread,
Jul 24, 2000, 3:00:00 AM7/24/00
to
I am having a problem using Corel OLE automation to export a TIFF file. I
have created an application in C++ that uses OLE automation to create a
CorelDraw8 file and I need to export the individual pages as TIFF images.
The FileExport command works in a script, but when I try it from my
application, I get a COM exception "The server threw an exception." I tried
various things with the parameters and I have been unsuccessful.

I found a web site at http://www.vakcer.com/oberon/ which documented the
FileExport command as having 10 parameters. The tenth parameter is a boolean
which allows the user to specify the whole page or just the selected items.
This is not in the Corel documentation nor the type library. I tried
creating a new type library with the tenth parameter added and got a COM
exception "Invalid number of parameters".

I am using CorelDraw 8.369. Any insights would be appreciated.
Regards,
Alex Boyce
Timbrel Systems Corp.


0 new messages