Acu Cobol and COM fails with error 0x80131700

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Post Reply
jr
Site Admin
Posts: 500
Joined: Sun Mar 26, 2006 12:28 pm

Acu Cobol and COM fails with error 0x80131700

Post by jr »

When using the COM object with progid Bullzip.PDFPrinterSettings from Acu Cobol a call to .writesetting will result in an error message. The error is 0x80131700 and was observed on a Windows XP system. The same Acu Cobol program worked fine on many other computers with similar operating system configurations. We think this error is related to some internals in the Acu Cobol runtime 8.1 when instantiating COM objects, which are .NET classes registered for COM interop.

It was obeserved that the same COM based operations worked fine on the same system if they were carried out from a VB script.

The system we examined was a 32 bit Windows XP.

Regards,
Jacob
Post Reply