file problems

BlitzMax Forums/BlitzMax Beginners Area/file problems

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm just putting the finishing touches to my game and somehow I have introduced a very strange bug.

After playing the game for a short time, all file access fails (e.g. loading an image, saving a data file). Does anyone know why this could happen? Why would a LoadImage or WriteFile fail when they worked previously within the same game session? What could I have done to prevent this from working?

Posting code is difficult as I'm not sure exactly where the problem occurs, only that it does. It just seems like something is causing all file access to fail but I have no idea as to what would cause this.

Sorry if this is a bit vague but I am hoping there is some obvious reason as to why this happening - I've spent hours trying to fix it and it's driving me nuts! If anyone can shed some light on this I would be eternally grateful!