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

Get description of last error. (ANSI version)

C++
virtual __stdcall char * GetError() = 0;

Pointer to ANSI 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

MessageBoxA(0, instance->GetError(), "ANSI error message", 0);

 

C Style interface

MessageBoxA(0, zplay_GetError(instance), "ANSI error message", 0);
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr