Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / File Does Not Exist

Author
Message
Triple Ha
21
Years of Service
User Offline
Joined: 18th Apr 2004
Location: California, but I wish I was in Japan
Posted: 21st Aug 2004 11:16
I have a problem. I am trying to load a MIDI file, but the computer says the file does not exist, even when it IS in the right file directory and I AM typing in the correct file name. It's like this:


Any help would be greatly appreciated.

--------------------click below--------- Skyblaze!
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 21st Aug 2004 13:16
Did you save your source code in the directory where the midi file is? That's the only thing I can think of.

Triple Ha
21
Years of Service
User Offline
Joined: 18th Apr 2004
Location: California, but I wish I was in Japan
Posted: 21st Aug 2004 14:17
Yes.

--------------------click below--------- Skyblaze!
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 21st Aug 2004 14:23
Hmmm, mind sending me that file? I tried it with a midi file on my computer and it worked fine. Is the file corrupted or something? This is really weird.

Triple Ha
21
Years of Service
User Offline
Joined: 18th Apr 2004
Location: California, but I wish I was in Japan
Posted: 21st Aug 2004 14:26
No, this happens to all my MIDI files. The MIDIs play back well, so I wouldn't think that all of them are corrupted.

--------------------click below--------- Skyblaze!
SandraD
20
Years of Service
User Offline
Joined: 30th May 2004
Location: Down on the corner, out in the street.
Posted: 21st Aug 2004 14:28
There is another cause for this error I've seen, in that the system sound card is failing to initalize. For some reason, it throws it as a file exist error (or did on my machine,) until the interface is cleaned up to enable the midi player. Hope ya work it out...
S.

Any truly great code should be indisguishable from magic.
Triple Ha
21
Years of Service
User Offline
Joined: 18th Apr 2004
Location: California, but I wish I was in Japan
Posted: 21st Aug 2004 14:30
Hey, you might be on to something, SandraD. I did have my default player running at the same time as the editor...

--------------------click below--------- Skyblaze!
SandraD
20
Years of Service
User Offline
Joined: 30th May 2004
Location: Down on the corner, out in the street.
Posted: 22nd Aug 2004 00:05
Yeah that could be it, though that sounds more like a possible sharing conflict than what I believe mine was doing. I presume my machine was attempting to open the midi palette or something and that was the file that either didn't exist or was placed improperly, throwing the exist error back to DBC. But then, that's just a guess. I actually had to install, re-install and re-install my sound driver and DX about a dozen times to get the problem to go away, at one point even giving up and I concluding I couldn't use music at all anymore. Two months later, and yet another attempt, and I solved it somehow...

Another maddening condition where nothing is wrong but nothing works.
S.

Any truly great code should be indisguishable from magic.

Login to post a reply

Server time is: 2025-05-25 03:56:08
Your offset time is: 2025-05-25 03:56:08