This works fine on Macintosh, but crashes as a nilobject on Windows.
I have no explanation, here is the code
#if TargetMachO then
f = PreferencesFolder.Child("studlar")
#elseif TargetWin32 then
f = PreferencesFolder.Child("studlar")
#endif
f.Visible = false
if f.Exists then
f.CreateTextFile().Write(strPreferences) <---- crashes here
end if
No variable is nil, that is so weird.
Trausti
This bug is in 2006r4 and 2007r1.
Trausti
_______________________________________________
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>