blitz-foundation / monkey2

zlib License
3 stars 0 forks source link

Can't save files on Windows 10 #74

Open Pharmhaus-2 opened 5 years ago

Pharmhaus-2 commented 5 years ago

Original Author: Difference

In Windows 10 (Pro), this fails. I've tried GetPrefsPath() too, and it fails too. CreateDir() works.

#Import "<std>"
Using std..

Function Main()

    Local buf:= New DataBuffer(100,ByteOrder.LittleEndian)
    Local res:= buf.Save("C:\temp\mybuf.dat")
    Print "Saveresult is: " + res

End
Pharmhaus-2 commented 5 years ago

Could be an UAC or permission issue.