Hello!

I had very strange situations where my app "forgot" data and "remebered" it some days later. Kind of voodoo feeling...

The third time it happened, I tracked it down...

I am on Mac OS 10.4.6, RB 2006r2.

SpecialFolder.ApplicationData was returning wrong data. Instead of "user:Library:Application Support:" it returned "HD:Library:Application Support:". Because the global Application Support directory is always exisiting, my app doesn't crashed in this situations, it just doesn't found its data and recreated empty files.

But I was sure that SpecialFolder.ApplicationData was working for me before. So I locked out from the system and in again: no change. But after a system restart SpecialFolder.ApplicationData was working again.

I don't know the action to reproduce, but I decided to don't trust it anymore. When it fails, the way from Desktop still works...

      aDBFile = SpecialFolder.Desktop
      aDBFile = aDBFile.Parent()
      aDBFile = aDBFile.Child("Library")
      aDBFile = aDBFile.Child("Application Support")

... I checked this before restarting, so I decided to use this always.

BTW: I am using FileVault to protect my PowerBook and there are always some apps which can't handle pathes anymore when FileVault is activated. Are these RB apps? ...using SpecialFolder? Is there somebody who can confirm this at all, with or without FileVault?

I would file a bug if I would be able to reproduce it...

Best,
Marcel
_______________________________________________
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