What is the difference between FolderItem.PathTypeNative AND FolderItem.PathModes.Native or maybe it is GetFolderItem?
I converted lines of code to the new version of folderitem, and specifically Native Path and GetFolderItem.
I am now getting a nilobjectexception after conversion on a Mac.
High Sierra, 2019 v3.1
The file is a straight text file, and any folderitem with a complete path is stored with EncodeBase64 and decoded with DecodeBase64.
The two lines I use are
I’m assuming the the encoding is the same as when it was encoded to hex ?
have you checked that you get the decoded string exactly as it was originally encoded ?
everything I know says you should be getting the correct folder item for those two calls
That’s why I posted in General. Its shouldn’t be happening.
The only thing I haven’t checked is encoding.
I always save everything as UTF8, so I think encoding is good.
How can I check it for text?
Is there an easy text comparer for Mac?
where does Encdng come from ?
if that is set the same when you decode as when you encoded then you should be getting back a correct file path
but I have no way to verify or check this with only 2 lines of code posted
ah sure you get an off by 1 issue
you basically have to revist EVERY line of code that gets “updated” to API 2 because of this since some will change & some wont
No
And you really cant use search & replace for it either
It will be manual and tedious
This was all mentioned previously