libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
libZPlayCpp::CreateZPlay Function

Class factory for ZPlay C++ interface.

C++
__stdcall __declspec(dllimport) ZPlay * CreateZPlay();

Pointer to ZPlay class instance.

This function creates new instance of ZPlay class. 

At the end, call member function Release to delete class instance.

Create new class instance using class factory function. 

 

#include "libzplay.h"

// use namespace for our class
using namespace libZPlay;

// create class instance using class factory function
ZPlay *instance = CreateZPlay();

Destroy class instance. 

 

instance->Release();
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr