I've just discovered a seemingly significant difference in the behavior of GetFolderItem in 2006r4 as compared with older versions.

I have some code that I use to check the appropriateness of a user- entered string that should be a UNIX path:

try
  f = getFolderItem(theString, folderItem.pathtypeshell)
catch
  //if the string does not represent a valid path string
  //we get an unsupported format exception here and notify the user
end try

I don't care at this point if the folderItem exists, just whether the path is a valid one.

In 2006r4 (UB IDE), the exception is never raised. The folderItem just remains NIL

Is this a bug in r4, or an intentional change, or am I missing something?

Thanks,

Peter
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to