DCOM timeout

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
Chris444
User
Posts: 7
Joined: Tue Aug 30, 2022 11:18 am

DCOM timeout

Post by Chris444 »

We have a little tool just to create PDF: It connects to the OLE-Control PXCComLib7.CPXCControlEx which starts pdfsaver.exe. It prints things as PDF and ends itself.
pdfsaver.exe is still running after our tool quits for some time before it finally ends itself (about 30seconds).
We are currently using V9.0.352 and tested V9.5.368.

We encounter a problem with connecting to the OLE-Control sometimes:
The server {AE08E75B-62CE-4950-9CF7-EA76BDA421FD} did not register with DCOM within the required timeout.
It seems to happen, when our tool is trying to establish the OLE-connection in that moment, when pdfsaver.exe is going to end itself from previous runs.
A direct retry after that will work just as usual.

1. Is there a way we can avoid this error in the first place?
2. It is possible to prevent pdfsaver.exe to end itself? (Autounload-setting through tray-icon seems to have no effect on this behaviour.)
3. Or is a retry after this error the only way to handle this?

Thanks in advance for your help. :)
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: DCOM timeout

Post by Tracker Supp-Stefan »

Hello Chris444,

I've asked colleagues from the dev team who work on the Drivers API to take a look at this post, and they will share their advise in this topic a bit later!

Kind regards,
Stefan
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: DCOM timeout

Post by Tracker Supp-Stefan »

Hello again Chris444,

Our devs did take a look and it seems like this is a problem on your side.
When they investigated further - they found this:
https://www.partitionwizard.com/partiti ... -dcom.html

Kind regards,
Stefan
Post Reply