I'm trying to develop a little application, using visual studio express
2010, that tries to use your pdf2image sdk we bought some years ago.
It compiles well, but when I try to run it , there seems to be some
problems when I call the function PDFToImageDrawToHDC(). I do something
hBitmap = PDFToImageDrawToHDC((const char *)"inputfile.pdf", 0, NULL,
NULL, 600, 600, 8, FALSE, 1);
Then, when I try to use the handle hBitmap with other functions (third
party library), it seems to be corrupted.
I used to compile the same code with visual studio 2008 and worked fine.
Is it possible or am I doing anything wrong (probably...)? The main
difference is that now I have to compile my projects with at least the
target .NET framework 3.5 (visual studio 2010), instead of 2.0 (visual
Thank you in advance.
Please compile your project with x86 mode instead of AnyCPU to try again, we hoping x86 compile mode will work fine to you.