Skip to main content
January 20, 2017
Answered

GetFileName

I see "GetFileName" listed for PDDoc in the SDK documentation, but the call PDDocGetFileName is not defined and when I look at PDCalls.h there is indeed no PDDocGetFileName.  Why is that?  Is there another way I can obtain the file name from AVDoc or PDDoc?

This topic is closed to new replies. Start a new post to keep the conversation going.
Test Screen NameCorrect answer
Legend
January 21, 2017

Go from PDDoc to ASFile and ASPathName.  There are ways to get filename, see also ASFileSys. Don't assume the default ASFileSys. It's easiest to get DIPath rather than platform path. Consider Unicode issues.

2 replies

Test Screen NameCorrect answer
Legend
January 21, 2017

Go from PDDoc to ASFile and ASPathName.  There are ways to get filename, see also ASFileSys. Don't assume the default ASFileSys. It's easiest to get DIPath rather than platform path. Consider Unicode issues.

Translate
January 23, 2017

Thanks!  That worked like a charm. 

Translate