Quantcast
Channel: PDFCreator - pdfforge forums
Viewing all articles
Browse latest Browse all 2623

Concurrent access to COM interface

$
0
0

@Thorsten_Twellmann wrote:

Hi,
I want to use the COM Interface as part of a server process (svn post-commit hook). There might be situations where more than one user triggers generating a PDF file more or less at the same time.
If I look at the examples, the queue is initialized, the document is sent to the printer and then the process/script waits for the next job and perhaps manipulates the job settings (e.g. fills in meta data fields).

How do I know that the next job is the job that prints the file I sent to the printer in the same process and not the file of another job?

Is concurrent access to the COM object allowed at all? I think I read somewhere that PDFCreatorQueue.Initialize() will fail if PDFCreator is already running.

Will ReleaseCom() terminate the PDFCreator even if it is still used by another process?

Thanks for your support!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>