We found some problems in last revisions of 2 of your dll:
1: The new version of pdf2txt.dll (ver. 188.8.131.52) extracts text from PDF file erasing empty raws. In the last version we used (ver. 184.108.40.206) the relevant data (all text) were extracted in a properly way.
2: In the new dll pdfpage.dll, the function verygetpdffilepagecount returns always zero (0) if operating system is Windows server 2003 service pack 2.
Could you inform us how we can solve these matters?
We look forward to receiving a reply at your earliest convenience.
Thanks for your message, can you please create a test project for us to reproduce these problems? After we reproduce your problems in our system, we will figure out a solution to you shortly.
Dim PagesNumber as integer
'iRet = VerySplitMergeSetParameter("RetainBookmarks","on")
'iRet = VerySplitMergeSetParameter("RetainAcroForms","off")
iret = VerySplitMergeSetParameter("RetainBookmarks", "off")
iret = VerySplitMergeSetParameter("RetainAcroForms", "on")
PagesNumber = VeryGetPDFFilePageCount(“C:\xxxxxxxxx.pdf”)
WINDOS 2003 SERVER R2 / WINDOWS 2008 SERVER
PagesNumber RETURN 0
Windows XP /Windows7
PagesNumber RETURN 5
this result with any PDF Files
I have tried “test_vb.exe” application just now, it does return 32 for the testcmd.pdf file, this is right, please refer to following screenshot,
Is this problem appear on one of your PDF files only? If yes, can you please email to us your sample PDF file for checking? After we checked your sample PDF file, we will figure out a solution to you shortly.
Sorry , maybe the problem is caused by this
on the server with Operative System Windows 2003/2008 the pdfpage.dll, even if located in the folder C:\Windows\System32, is not found
this does not happen on windows XP/windows7
Are you using 64bit system? If yes, you can copy all DLL files to C:\windows\syswow64 folder instead of C:\windows\system32 folder, this may solve this problem to you.
I have already copied all dll to
C:\windows\system32 on 32bit
C:\windows\sysWOW64 on 64bit
but in both cases the pdfpage.dll non found
while for all other DLL this problem does not exists
You need copy pdftoolsdk.dll and pdfpage.dll files into same folder, maybe you haven’t copied the pdftoolsdk.dll file.
no , dependency is ok , no dll files are missed , but on any S.O. Microsoft Windows Server 2003/2008 pdfpag.dll to have this problem
Please try one of these operating systems and see that pdfpag.dll does not work
Thanks for your test machine, I have figure out a solution on your test machine, please disable DEP on your Windows 2003 system to try again,
Sometimes DEP block some program to run. To Add exception to DEP, you can go to:
1. Click Start, right click on My Computer and choose Properties.
2. Go to Advanced tab and click Settings in Performance block.
3. Go to Data Execution Prevention tab, click Add to add exception to specific program to run.
If you want to completely turn DEP off, you can do this:
1. Explore C:\
2. Click Tools >> Folder Option >> Views
3. Uncheck Hide Protected operating system files (Recommended) and Hide extensions for known file types
4. Click Apply >> OK.
5. Edit Boot.ini file.
6. Modify the /noexecute= to /noexecute=alwaysoff to disasble DEP entirely
7. Save and reboot your computer.
You can also refer to following steps to disable DEP on your Windows 2003 completely,
>>How do I disable Data Execution Prevention (DEP) in Windows 2003?
In Windows, right click on My Computer -> Properties -> Advanced -> Startup and recovery -> Setting -> Edit
and change the following,
1. Remove the options that begin with "/NOEXECUTE".
2. Add the "/EXECUTE" and "/NOPAE" options to the boot.ini file.
[This example disables DEP and PAE within the system boot.ini]
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Windows Server 2003, Enterprise" /fastdetect /EXECUTE /NOPAE
You will need to reboot for changes to take effect.
You can also refer to following web pages for more information,
After you disabled the DEP for your application, then you can run your application with pdfpage.dll library properly, please to try.
Thank you all for the excellent technical support that helped solve the problem quickly
good work and thanks to all of you
(sorry for my bad English)
Thank you for your message, if we can be of any other assistance, please feel free to let us know.
Thank you and have a nice day!