Print Page | Close Window

GetDocumentFileName not working on OS X Mavericks

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2987
Printed Date: 22 Nov 24 at 12:38PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: GetDocumentFileName not working on OS X Mavericks
Posted By: Kenneth488
Subject: GetDocumentFileName not working on OS X Mavericks
Date Posted: 08 Oct 14 at 3:10PM
Hi Guys

I was using the function GetDocumentFileName today, and everytime I only got half of the path to my PDF file out, and not the name of the loaded document.

If I loaded the PDF file from, lets say /Users/me/Desktop/Hello.pdf, then when I use GetDocumentFileName() and print the returned value, I get:

2014-10-08 16:03:21.993 PDFtest[4179:303]: /Users/me/De

and nothing more.

How can this be?

Regards,

Kenneth



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk