Is there any change on recent Acrobat/SDK/API recently? str casting from ASPathName not working.
Hi
Recently I had a strange issue with recent Acrobat version such as 2021.001.20135.
String cast in the following worked fine.
---
ASPathName asPathName = ASFileSysPathFromDIPath(m_asFileSys, CT2CA(diPath), relativeToThisPath);
CString sFilePath = reinterpret_cast<char*>(asPathName );
---
But it doesn't work anymore at V 2021.001.20135.
So I'm wondering why it doesn't work suddenly.
Is there any change on API level? If yes, can I get info about what was updated .
Anyway I coluld resolve the issue by using ASFileSysDisplayASTextFromPath rather than string cast something like the below.
--
ASFileSysDisplayASTextFromPath(m_asFileSys, asPathName , asText);
CString sFilePath = (LPCTSTR)ASTextGetUnicode(asText);
--
I believe it's right resolution.
Thanks
Jason
