How can I automate the Media Player from eVB?
Unfortunately, eVB cannot automate the Media Player. There are a couple of alternatives to play media files from eVB: • Launch the Media Player with the CreateProcess API with the media file as one of the command line parameters. • If you’re just playing a .wav file, use the PlaySound API. • There is a Windows Media Player for Pocket PC SDK available on the Microsoft site. Unfortunately, it does not support usage directly from eVB. There is an eVC sample that downloads with the SDK: “The SDK also includes a code sample that demonstrates how to embed the control in a custom C++ program using Microsoft eMbedded Visual C++®.” So you could conceivably wrap it in eVC and expose it to eVB.