The solution is because the username of the the user on windows
contains icelandic characters. If I write the file deliberately in a
location which is non icelandic, it works.
This is a very serious bug, and I thought RS had already fixed this.
Here is a ticket on this, please sign on.
http://www.realsoftware.com/feedback/viewreport.php?reportid=woigcyzw
Trausti Thor
On Jan 3, 2007, at 12:38 AM, Trausti Thor Johannsson wrote:
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>
_______________________________________________
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>