Why might COM automation from within a console application work on my development machine but not on another?
问题 As part of a project I am using COM automation with CorelDRAW. The automation is via a console application which will eventually be launched by a web service but for the purposes of trying to fix the issue behind this question is run as a scheduled task. This works on my development machine (running 32 bit Windows Server 2003) but fails with COM error 80080005 on a machine running 64 bit Windows Server 2003. There does not appear to be any extra information in the event viewer logs [see edit