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

Dear Ramon and others,

 

Thank you for valuable effort, the issue has solved, actually the change needed was PDSaveFull flag, with PDSaveCopy.

 

PDDocSave (myPDDoc,  PDSaveCopy | PDSaveFull , nwFilePathName, ASGetDefaultFileSys () , NULL , NULL);

 

But as Ramon suggested, I am getting asked not to use CString and to use char arrays dynamically. I am actually getting confused that how to use dynamic allocation at every point, like below is a question for me.

 

Also can anyone suggest me will it be good to use string class of standard library.

 

char msg[100];

ASGetErrorString ( errCode, msg,  100);

 

Is it possible to know how long the error message will be. Please give some code which does this job dynamically.
Can anyone help me here please.

 

Thanking you & Waiting for Reply,

Safee.


Viewing all articles
Browse latest Browse all 10848

Latest Images

Trending Articles



Latest Images

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