I have my space invader clone use MCI to play midi files. When the game loads I get an error stating it can't find the file to play. I have checked and the midi file is in the correct path. This happens on one of the two machines that it has been tested on. Why does this occur and how to fix it?



LinkBack URL
About LinkBacks



Just for curiosity's sake though, you could try creating a file called "whereisthisfile.txt" without specifying a path, then see where it turns up on your computer
If it doesn't end up in the program folder, then you can probably be 99% sure that your problem is the path being changed (or maybe it just doesn't get set to your program folder in the first place?).
I could very well be wrong about a function changing the path to begin with, since as you said it works on one computer but not on both