Error using Multimedia Class |
Reply
|
|
by Kai [Kai at traveljens dot com] posted on 2005/01/31 |
|
Hi,
i tried to use the MultiMedia Class.
I Compiled the TestApp.
But if i try to play an MP3 oder Wave file i always get the Message:
"An error occured: Unknown Problem while loading devicedriver"
I also tried the WaveFile class. With the WaveFile it was possible to Play a wave File. But i need to play mp3 files.
Can anyone help?
Thanks a lot.
Best Regards |
by Chris Thompson [niteshdw at gmail dot com] posted on 2005/03/03 |
Reply |
I found that the Multimedia class fails in the GetShortPath if there is a SPACE in the file path. I am unsure how to fix this error. |
by Chris Thompson [niteshdw at gmail dot com] posted on 2005/03/03 |
Reply |
My previous post seems to be in error. The buffer is allocated with file.Length + 1, but for some reason the path that I was using was longer after ShortPath so it didn't fit in the buffer? I changed the buffer to file.Length * 2 and now it works just fine. Can anyone explain this problem? |