Page 1 of 1

[RESOLVED]PurePDF Linker Error

Posted: Sat Oct 01, 2011 7:22 am
by malo
Hello everyone

PB 4.51 full version

I have a little trouble with the use of PurePDF221_PB45X86.


Vista everything works fine, but if I take the code and I run it in XP,
I have the error message:

linker error

"Polink: error Unresolved external symbol '_PB_FindString2"
"Polink: fatal error: 1 unresolved external (s)"


Yet I have the same configuration compiler PB.


If anyone has an idea ... thank you in advance

Re: PurePDF Linker Error

Posted: Sat Oct 01, 2011 11:15 am
by ABBKlaus
i have no problems here with the current build for PB4.51x86, you might have installed the wrong version.

Here are some checksums you can verify (with Total Commander for example) :

PurePDF for PB4.5x86:
sfv : PurePDF 470A6C2D
MD5 : 1cae3632d68b1b23c4a21f9b9f4476c1 *PurePDF
SHA1 : 669caa84f118551d58f9604c8b90b02e5774aca4 *PurePDF

Download links for the most recent versions :
PurePDF for PB4.5x86
PurePDF for PB4.6x86

Re: PurePDF Linker Error

Posted: Wed Oct 05, 2011 8:07 pm
by malo
hello
Sorry for replying a little late.
thank you for the link. With this library I compile without error link, but
oddly made ​​the code does not match the function PurePDF.
example, if I just ask the left border of the cell, it is the complete environment of the cell. that what happens under Win XP, the same
code library with the same vista is functioning properly.
I tried on another XP machine, same problem.

create the exe vista working properly under XP.

If you have an explanation thank you in advance.

Re: PurePDF Linker Error

Posted: Thu Oct 06, 2011 6:21 am
by ABBKlaus
Do you have some sample code that demonstrates your problem ?

Compiling under Vista or XP you should get the same results, thats really weird :?

BR Klaus

Re: PurePDF Linker Error

Posted: Fri Oct 07, 2011 4:38 pm
by malo
Hello
Now with versions below PDF_221 it works well.
Problems should be of a mix between files.

But I found that with the version PDF_221 I can not present a
as described in the PDF functions.
In the code below normally should not have representation from all sides of the cells. With versions lower
the presentation is correct.

Even so thank you for your good work for the library

Code: Select all

pdf_Create()
pdf_AddPage()
hautCelTab=5
 larg=190
 haut=6
 hautSauve=6
 larg1=35
 larg2=155
 larg11=25
 larg22=165
 
 pdf_SetFillColor(244,155,116);
 pdf_SetTextColor(4,50,170);
 pdf_SetDrawColor(128,0,0);
 pdf_SetLineWidth(0.3);
 pdf_SetFont("Helvetica","B",27);
  
 pdf_Cell(larg,15,"~ DEVIS ~",1,0,#PDF_ALIGN_CENTER,1)
   
 pdf_SetFillColor(255);
 pdf_SetTextColor(0);
 pdf_SetDrawColor(128,0,0);
 pdf_SetLineWidth(0.3);
 pdf_SetFont("Helvetica","",9);
 pdf_Ln()
 cel$=""
 
 pdf_Cell(larg1,haut,cel$, #PDF_CELL_LEFTBORDER,0,#PDF_ALIGN_RIGHT,1)
 
 pdf_Cell(larg2,haut,cel$, #PDF_CELL_RIGHTBORDER,0,#PDF_ALIGN_LEFT,1)
 pdf_Ln()
  
  
 cel$="Country :"
 pdf_Cell(larg1,haut,cel$, #PDF_CELL_LEFTBORDER,0,#PDF_ALIGN_RIGHT,1)
 cel$="  "+h2$
 pdf_Cell(larg2,haut,cel$,#PDF_CELL_RIGHTBORDER,0,#PDF_ALIGN_LEFT,1)
  
 pdf_Ln()
   
 cel$="City :"
 pdf_Cell(larg1,haut,cel$, #PDF_CELL_LEFTBORDER,0,#PDF_ALIGN_RIGHT,1)
 cel$="  "+h3$
 pdf_Cell(larg2,haut,cel$, #PDF_CELL_RIGHTBORDER,0,#PDF_ALIGN_LEFT,1)
  
 pdf_Ln()
  
 cel$="Type de travaux :"
 pdf_Cell(larg1,haut,cel$, #PDF_CELL_LEFTBORDER,0,#PDF_ALIGN_RIGHT,1)
 cel$="  "+h4$
 pdf_Cell(larg2,haut,cel$, #PDF_CELL_RIGHTBORDER,0,#PDF_ALIGN_LEFT,1)
  
 pdf_Save("Test .pdf")



Re: PurePDF Linker Error

Posted: Fri Oct 07, 2011 10:47 pm
by ABBKlaus
Thanks for the Bugreport Malo !
Its now corrected, please redownload the lib(s) :wink:

Re: PurePDF Linker Error

Posted: Sat Oct 08, 2011 8:38 am
by malo
Ok thank you, works very well