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

 
 

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

Submitter:  None
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code