How do I resolve "An unknown error encountered" error?

4 views
Skip to first unread message

Support

unread,
Apr 14, 2009, 6:38:24 PM4/14/09
to PDF2Image
Q: When I run the follow example code (attached) it always returns:
\"An unknown error encountered\" with a mode of 1.

Could you please let me know what I might be doing wrong to correct
this error message?

------
A: My guess is that your application can't find PDF2Image.DLL in the
search path (to verify this you may want to copy 'PDF2Image.DLL' into
c:\Windows\System32 folder - which is included in standard DLL search
path).

If you are looking for a simple to use API for PDF-to-Image
conversion, you may also want to take a look at PDFNet SDK (e.g. as
shown in PDFDraw sample project - http://www.pdftron.com/pdfnet/samplecode.html#PDFDraw).


Support

unread,
Apr 14, 2009, 6:38:42 PM4/14/09
to PDF2Image

> I was able to resolve this I was treating the mode value 2 on the callback as an error and threw an internal exception that interupted the rending routine. Thanks for getting back to me this item is resolved.
Reply all
Reply to author
Forward
0 new messages