Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: how to create ASPathName for a new file

$
0
0

Gulam:

 

I believe you are taking an unnecessarily circuitous route. This is what I do:

 

(a) First, use the C++ type "string" and with it, do all manipulations, substring concatenations, extractions, etc. Those operations are trivially easy done with string, plus you get extra security (overrunning long paths, etc)

 

(b) Next, use relatively simple code like the one attached.

 

That code is part of all my console/shell applications; it works as intended under different operating systems.

 

=======================

 

4-7-2014 9-01-44 AM.png

 

Auxiliary portable functions:

 

4-7-2014 9-03-24 AM.png


Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>