Discussion:
mciSendString: Close Media File Error (only on my PC)
(too old to reply)
Bruce
2009-09-05 09:07:01 UTC
Permalink
I'm having an issue with the mciSendString on my PC

I'm developing a software (C#) to manage mp3s, with the possibility to
listen to them

Now, the mciSendString commands (open, play, stop, close, etc..) used in the
program works perfectly in every pc i tried it, except mine..

On my Pc the close command returns an error code (number >
13000000000000000000) and the mp3 file remains locked..

i can open and listen to other mp3 or to the same mp3 but every file remain
locked by my process, so i can't get to modify his filename, or directory
name (other functions of my software)

i have to close the program to unlock the files..

I've tried other demo projects using mciSendString to see if it was a proble
of my software, but it's not.. every software that uses mciSendString close
command fails on my PC

there's something wrong, and i dunno what it could be..

any guess??
Bruce
2009-09-05 09:27:01 UTC
Permalink
maibe the number returned by the mciSendString close command isn't an error,
because all the others commands (play, pause, stop) return numbers > 0 but
they basically works..

still, i can't figure out why the file remain locked on my PC

Loading...