Q: I am looking at the PDF2Image DLL (
http://www.pdftron.com/
pdf2image/) in a .Net web service. I am wondering how it will handle
concurrency since it is not a .Net dll and we have to do a DLLImport
with it. Is it going to have any issues with being loaded n times?
----------------------------
A: There should be no issues related to concurrency or multi-threading
with PDF2Image.
In case you would rather use a true .NET component to convert PDF to
images, you may want to use PDFNet SDK (
http://www.pdftron.com/
pdfnet/) instead of PDF2Image. PDF2Image is based on PDFNet, but
PDFNet can also do much more (for more info please see
http://www.pdftron.com/pdfnet/features.html). As a starting point you
may want to take a look at PDFDraw sample project:
http://www.pdftron.com/pdfnet/samplecode.html#PDFDraw