VC++.NET Class interface for libZPlay library.
ref class ZPlay;
This is VC++.NET class wrapper for libzplay.dll library. Each method of this class is wrapper for one of C Style functions exported from libzplay.dll library.
ZPlay VC++.NET Class must have access to libzplay.dll to function properly.
All you need to do is to create instance of ZPlay class. Interaction with this class is implemented through class methods.
// add libZPlayNET.h to your project #include "libzplaynet.h" // ... // include libZPlay namespace using namespace libZPlay; // ... // create ZPlay class ZPlay ^player; player = gcnew ZPlay(); // open file and play player->OpenFile("mysong.mp3", TStreamFormat::sfAutodetect)); player->StartPlayback(); // ... // destroy class at the end delete player;