Best regards,
Sergey Bogdanov
In your project add a reference to the ActiveMovie control type
library, it's on the COM tab.
Then use the followint code, where fileName is the name and path of
your MP3 file.
*************************
string fileName = @"C:\music.mp3";
QuartzTypeLib.FilgraphManager filgraphManager = new
QuartzTypeLib.FilgraphManager();
QuartzTypeLib.IMediaControl mediaControl =
(QuartzTypeLib.IMediaControl)filgraphManager;
mediaControl.RenderFile(fileName);
mediaControl.Run();
*************************
Also, you can use mediaControl.Stop() to stop playint the MP3
Cheers
Daniel
--
http://www.danielmoth.com/Blog/
"Adam Tatusko, MCSD .NET, MCAD .NET, MCDBA, MCSE, MCSA"
<adamt...@hotmail.com> wrote in message
news:1105476698.8...@f14g2000cwb.googlegroups.com...
CFCOM is a Comprehensive COM and ActiveX Interop Solution for the .NET
Compact Framework
Cheers
Daniel
--
http://www.danielmoth.com/Blog/
"Adam Tatusko, MCSD .NET, MCAD .NET, MCDBA, MCSE, MCSA"
<adamt...@hotmail.com> wrote in message
news:1105483773.1...@z14g2000cwz.googlegroups.com...
blurb: "FMOD supports 3d sound, midi, mods, mp3, ogg vorbis, wma, aiff,
recording, obstruction/occlusion, cd playback (analog or digital), cd
ripping, mmx, internet streaming, dsp effects, spectrum analysis, user
created samples and streams, synchronization support, ASIO, EAX 2&3,
C/C++/VB/Delphi and more."
Lane Kuo has written a very nice .NET CF wrapper in his smartphone alarm
project.
http://sourceforge.net/projects/spalarm/
The library can easily be extended to add support for the callbacks using
the standard technique of another native dll which posts messages to a
MessageWindow class in your .NET app.
fmodce is free for non commercial use and it rocks.
On Tue, 11 Jan 2005 22:52:43 -0000, Daniel Moth <dmo...@hotmail.com>
wrote:
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
cheers
"Malc" <malcolm...@wififofum.org> wrote in message
news:opskhk46u1z13z1w@cruz...