This is so weird.
I've been testing the PDFXCdemo project under VB6 sample codes. I made some changes in importing an image file. I am using PXC_AddimageExA instead of PXC_AddimageA. My objective is to convert multi-page tiff to multi-page pdf.
Now if I compile the program and put it in the bin directory with all the dlls and everything, the program runs fine. But if I step through the source code in debug mode, I got this error when it is trying to open the tiff file (res = PXC_AddImageExA(pdf, IMG_NAME, p, 0): Error [ImageCore]: Invalid file format. The program points to the same tiff file. The file is valid. All the dlls were copied to the project directory. How could that be? I'm so baffled. There has to be a bug somewhere, right? Please help!!!
Thanks in advance.