10-02-2024, 03:36 AM
Thanks for your help. I now have the LDController working for versions of PacMan and Pong that I have been playing with.
However, last night, after running the test code above that you gave me (with the Debug file included), I am now getting the following error every time I try to write to any file, from any SB program...
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at Microsoft.SmallBasic.Library.File.WriteLine(Primitive filePath, Primitive lineNumber, Primitive contents)
at _SmallBasicProgram._Main()
I've tried clearing the %temp% folder, and rebooting. Doesn't solve it.
I've tried looking this up on various forums, and most seem to be saying that its because the same method has the file locked
As far as I know, I haven't changed anything apart from running the test code
Any help would be _very_ much appreciated.
...cheers... Gordon
However, last night, after running the test code above that you gave me (with the Debug file included), I am now getting the following error every time I try to write to any file, from any SB program...
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at Microsoft.SmallBasic.Library.File.WriteLine(Primitive filePath, Primitive lineNumber, Primitive contents)
at _SmallBasicProgram._Main()
I've tried clearing the %temp% folder, and rebooting. Doesn't solve it.
I've tried looking this up on various forums, and most seem to be saying that its because the same method has the file locked
As far as I know, I haven't changed anything apart from running the test code
Any help would be _very_ much appreciated.
...cheers... Gordon