In today's fast-paced digital world, the ability to convert PDF files to text format is crucial for many applications. If you are using Embacadero Delphi Version 11.2 and running your applications on Windows 10 (64 Bit), the PDF to TXT COM/SDK by VeryPDF could be the solution you need. This article aims to guide you through the integration process and clarify the components included in the software package.
https://www.verypdf.com/app/pdf-to-txt-converter/pdf-to-txt-sdk-manual.html
Understanding the Need for PDF to TXT COM/SDK
Recently, many developers expressed interest in adding the PDF to TXT COM/SDK to their applications. However, they faced challenges related to the availability of the required DLLs for 64-bit applications. While the trial version worked flawlessly in 32-bit mode, users could not locate the necessary components for 64-bit functionality.
Initial Concerns Raised by Customers
- 64-Bit DLL Availability: Customers reported that upon downloading the free trial software package, they were unable to find the required 64-bit DLLs, leading to functionality issues when attempting to run their applications in 64-bit mode.
- Developer License Clarification: Potential customers sought confirmation that the PDF to TXT SDK Developer License would indeed include all components necessary for integrating the software into 64-bit applications.
VeryPDF's Response to Customer Queries
VeryPDF promptly addressed these concerns. Here’s a summary of the key points discussed:
- Developer License Requirement: To integrate the PDF2TXT SDK into your applications, you need to purchase the Developer License. A Server License alone is insufficient for this purpose.
- Pricing: The cost for a PDF2TXT SDK Developer License is USD $1500.00 per developer license. You can conveniently purchase it directly from the VeryPDF website via the following links:
- Royalty-Free Redistribution: The Developer License allows you to integrate the software into your developed applications and redistribute it royalty-free. If the software includes source codes, you also have the right to modify and reuse those codes.
Resources for 64-Bit Application Integration
To facilitate the integration of PDF2TXT SDK into 64-bit applications, VeryPDF provided several helpful resources:
- How to Call PDF to Text Converter SDK/COM from Both 32-bit and 64-bit Applications
- How to Call PDF2TXT SDK DLL Library from a 64-bit Application
- 64-bit Version of PDF to Text SDK Converter
- Additional information can be found on the VeryPDF Blog.
Steps to Use PDF2TXT SDK with 64-bit Applications
To use the 64-bit PDF2TXT COM, follow these steps:
- Register PDF2TXTCOM.exe: Run the command line with administrator privileges to register the COM interface.
PDF2TXTCOM.exe /regserver
- Use VBS to Call PDF2TXTCOM.exe: You can run the following Visual Basic Script (VBS) to call PDF2TXTCOM.exe from your 64-bit application:
Dim oTest dim nRet Set fso = CreateObject("Scripting.FileSystemObject") strFolder = fso.GetParentFolderName(wscript.ScriptFullName) destinationPath = strFolder & "\verypdf.pdf" Set oTest = CreateObject("PDF2TXTCOM.PDF2TXT") oTest.com_SetTXTFormat 1 oTest.com_SetZoomRatio 90 oTest.com_PDF2TXTSetLicenseCode("XXXXXXXXXXXXXXXXXXXXXX") nRet = oTest.com_Pdf2Txt(strFolder & "\sample1.pdf", strFolder & "\sample1-pdf2txt.txt") nRet = oTest.com_Pdf2TxtEx(strFolder & "\sample1.pdf", strFolder & "\sample1-pdf2txtEx.txt", 0, 0, "", "") MsgBox "Convert Success!"
Conclusion
Integrating the PDF to TXT COM/SDK into your Embacadero Delphi applications is a straightforward process once you have the necessary components and licenses. The Developer License not only ensures you have access to all required files for both 32-bit and 64-bit applications but also provides you with the freedom to redistribute your applications royalty-free. For further assistance and to ensure smooth integration, explore the resources provided by VeryPDF.