News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Miscellaneous Forum
 
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?

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.