MMSYSTEM275 : File not found

hi,
i have written a screensaver in D3 and it runs well under WIN98. It uses several WAV and MIDI-Files, which were played
by the TMediaplayer. Sometimes (it is not reproducible) appears the system-message "MMSYSTEM275: File not found" .
This can't be true for often all works fine.
What may be the reason ?

thanks

titz
LVL 1
titzAsked:
Who is Participating?
 
rpetruniConnect With a Mentor Commented:
If this appears only when you are debugging application, then the reason for this message is that you are not located in the directory where your waw files are...(if you application takes root directory of your exe as starting directory, and you are looking for some other files at other directoryes, the pointer stays in that directory)
.if this happens at runtime, then i'm not shor, but the problem could be something simmilar...
.send some code (where are you calling those WAW and MIDI files...
0
 
titzAuthor Commented:
hi rpetruni,

i think this is the right idea. since i added the complete path to the filename it doesn't happen.

Thanks

titz
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.