The project is one of the sample projects (FileDemo). Code on line 74 is: file:write( “Feed me data!\n” )
But I think, it’s not the code. It’s something else. My first problem was, that the project that worked fine in another (Windows 7) Corona, wasn’t working in one Windows. The error message was about files in documents directory, but 'cause everything worked fine in different installation, I really didn’t know what to do. So I tried to run FileDemo-sample project and see if it would have worked fine. But it also crashed. I think it must be something to do with Corona SDK and Windows.
You can see error message of FileDemo-project in my previous message. Here is the error message of my project:
Runtime error e:\temp\sammakkopeli\_toimiva\map.lua:39: attempt to index local 'file' (a nil value) stack traceback: [C]: ? e:\temp\sammakkopeli\_toimiva\map.lua:39: in function \<e:\temp\sammakkopeli\_toimiva\map.lua:18\> ?: in function 'dispatchEvent' ?Runtime error: e:\temp\sammakkopeli\_toimiva\map.lua:39: attempt to index local 'file' (a nil value) stack traceback: [C]: ? e:\temp\sammakkopeli\_toimiva\map.lua:39: in function \<e:\temp\sammakkopeli\_toimiva\map.lua:18\> ?: in function 'dispatchEvent' ?: in function '