bugPanda PDF Generation API - Bugs: bug #13533, Panda open function does not...

 
 

bug #13533: Panda open function does not support filenames with space characters

Submitted by:  None
Submitted on:  Fri 24 Jun 2005 01:09:09 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 24 Jun 2005 01:09:09 PM UTC, original submission:

Hello,

I'm using panda_com DLL activeX from VB6 sp5.

Source code :
'---------------------------------------------
' Create a new PDF
Set oPDF = PDFOpen(strFileName, "w")

' Create a new page (Page 1)
Set oPage = oPDF.NewPage(PANDA_PAGESIZE_A4)
'----------------------------------------------

If strFileName include space character (for example :
strFileName = "C:\Program Files\MyApplication\test.pdf"), the created PDF file is incorrect (page size = 0 by 0 mm) and no errors returned.
If I use the following path : strFileName = "C:\MyApplication\test.pdf", it works fine.

It has probably something to do with the fopen function in panda_open_actual of panda.dll. Perhaps you need to use _wfopen instead ?

Plase keep me informed.
Thank you for your nice open source DLL.
Best regards.

S├ębastien Steiner
-email is unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

No changes have been made to this item

Back to the top


Powered by Savane 3.3