|
|
News Overview Download Order F.A.Q. More info Support Links Welcome QuickStart ActiveX Control C++ Wrapper J2K_Image open easyDecode selectTiles getMetaData decode close J2K_Frames open getFrames getFrame operators close API Reference General getVersion •getLastError getErrorStr getLastErrorStr Unlock Open / Close Open Close Info GetInfo GetInfoEx GetResolutions GetResDimensions GetMetaData Decoding EasyDecode SelectTiles Decode Cancel Debug StartLogging StopLogging |
J2K_getLastError Use this function to obtain the error code if the last used function has failed. int J2K_getLastError(); Return value Returns the code of the last codec error. Use J2K_getErrorStr() to get textual description of the error. See the list of error codes here. Notes 1. Use this function immediately after the failed one. 2. Last Error variable is unique for each thread, so the multiple threads do not overwrite each other's values. Example
int j2k_errcode = J2K_getLastError(); J2K_getErrorStr() J2K_getLastErrorStr() List of error codes |
| 2004-2008 © Alex Saveliev |