libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay Class

VC++.NET Class interface for libZPlay library.

C++
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. 

Note:
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

 

How to use VC++.NET interface
// 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;
Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr