libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay::GetErrorW Method

Get description of last error. (UNICODE version)

C++
virtual __stdcall wchar_t * GetErrorW() = 0;

Pointer to UNICODE null terminated string with error message.

Memory for error message is allocated by libZPlay interface and always is available.  

Warning: Don't mess with this memory, don't free this memory, don't write into this memory. 

ZPlay C++ Class interface

MessageBoxW(0, instance->GetErrorW(), "UNICODE error message", 0);

 

C Style interface

MessageBoxW(0, zplay_GetErrorW(instance), "UNICODE error message", 0);
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr