Skipping "%" in file name

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
Maciej Tokarski
User
Posts: 23
Joined: Mon Feb 09, 2009 8:52 am

Skipping "%" in file name

Post by Maciej Tokarski »

Hi,
We set the full output path for pdf report via API:

m_pPrinter->Option[L"Save.File"] = fullpath;

Our testers observed that whenever the path contains a single "%" the character is simply removed from path/name. I know "%" has to do with macros, but I was sure it will properly recognize "%[...]" pattern, it seems it always uses "%" as a special character though. I did some further testing and could notice, that if we use double "%%" it's converted to single "%". Could you please confirm it? Is it enough to simply replace every "%" with double "%%" in a path before passing it to the option Save.File for it to work correctly? I couldn't find it in your documentation somehow.

Regards,
Maciej
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Skipping "%" in file name

Post by Ivan - Tracker Software »

The issue is fixed in build 196 which should be available on Thursday or Friday. Thanks for the report.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Maciej Tokarski
User
Posts: 23
Joined: Mon Feb 09, 2009 8:52 am

Re: Skipping "%" in file name

Post by Maciej Tokarski »

Thank you!
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17910
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Skipping "%" in file name

Post by Tracker Supp-Stefan »

:)
Post Reply