How to call PDF2TXT SDK from VC++ source code

I am not getting to register the component, I don't know that file I should open to inform the data below:
 
PDF2TXTSetLicenseCode("XXXXXXXXXXXXXX");
int iRet = PDF2TXTEx(pdffile, textfile, 0, 0, NULL, NULL);
 
Do speak to me where that file is and which his name, for the email you ordered to lower the version trial that comes inside with some dll and examples and the one what make now?
===============================
If you wish call PDF2TXT SDK from VC++ source code, you can call PDF2TXT SDK by following sample code,

===============================
#include <windows.h>
#include <stdio.h>
#include <io.h>
#include <stdlib.h>
#include "../pdf2txt.h"

void main(int argc,char *argv[])
{
            if(argc != 3)
            {
                        printf("Usage: input.pdf output.txt");
                        return;
            }
            //Register your PDF2TXT SDK by given License Code
            PDF2TXTSetLicenseCode("XXXXXXXXXXXXXXXXXXX");
            SetPageSeparator("\r\n\r\n\r\nTest for PageSeparator %PageNumber% of %PageCount%\r\n\r\n\r\n");
            int iRet = PDF2TXTEx(argv[1], argv[2], 0, 0, NULL, NULL);
}
===============================

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in PDF to Text Converter and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!