PdfVectorOutput example didn't compiles in x32

Just starting out? Need help? Post your questions and find answers here.
morosh
Enthusiast
Enthusiast
Posts: 335
Joined: Wed Aug 03, 2011 4:52 am
Location: Beirut, Lebanon

PdfVectorOutput example didn't compiles in x32

Post by morosh »

Hello:
the following snippet didn't compiles in x32, I got it from the help, I've IMA error at StopVectorDrawing():

Code: Select all

  LoadFont(0, "Times New Roman", 20)
    
  If StartVectorDrawing(PdfVectorOutput("test.pdf", 595, 842))  
    VectorFont(FontID(0), 25)
    
    MovePathCursor(20, 20)
    DrawVectorText("This is page 1...")
    
    NewVectorPage()
    
    MovePathCursor(20, 20)
    DrawVectorText("This is page 2...")      

    StopVectorDrawing()
  EndIf
  
  DeleteFile("test.pdf")
  
I remember it compiles fine with earlier betas.
No problem with x64
using W10

Thanks
PureBasic: Surprisingly simple, diabolically powerful
User avatar
mk-soft
Always Here
Always Here
Posts: 6320
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PdfVectorOutput example didn't compiles in x32

Post by mk-soft »

Fixed with PB v6.11 Beta2
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
morosh
Enthusiast
Enthusiast
Posts: 335
Joined: Wed Aug 03, 2011 4:52 am
Location: Beirut, Lebanon

Re: PdfVectorOutput example didn't compiles in x32

Post by morosh »

Thank you
PureBasic: Surprisingly simple, diabolically powerful
Post Reply