We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LDController
#9
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
Reply


Messages In This Thread
LDController - by GBHalford - 10-01-2024, 05:35 AM
RE: LDController - by AbsoluteBeginner - 10-01-2024, 07:06 AM
RE: LDController - by litdev - 10-01-2024, 07:48 AM
RE: LDController - by GBHalford - 10-01-2024, 09:38 AM
RE: LDController - by litdev - 10-01-2024, 09:47 AM
RE: LDController - by GBHalford - 10-01-2024, 10:14 AM
RE: LDController - by litdev - 10-01-2024, 10:33 AM
RE: LDController - by z-s - 10-01-2024, 01:05 PM
RE: LDController - by GBHalford - 10-02-2024, 03:36 AM
RE: LDController - by z-s - 10-02-2024, 05:18 AM
RE: LDController - by litdev - 10-02-2024, 05:33 AM
RE: LDController - by GBHalford - 10-02-2024, 06:10 AM
RE: LDController - by z-s - 10-02-2024, 08:57 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)