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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned 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:


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



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

Attach File(s):

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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



No Changes Have Been Made to This Item

Back to the top

Powered by Savane 3.1-cleanup1