CRasterImage::GetLastErrorMessage![]()
char* GetLastErrorMessage ( void );
Return Value
Pointer to string containing message which describes last error which occurred in CRasterImage object. Do not store this pointer because next error might invalidate it. Returned pointer is guaranteed as valid till next call to any another method of CRasterImage object.
Remarks
This method is available from ClassGL version 3.1
Example
CRasterImage RasterImage; if ( ! RasterImage.Load( “Image.jpg” ) ) printf( “Error loading ‘Image.jpg’ file\n%s\n”, RasterImage.GetLastErrorMessage() );
See Also
![]()
| © 2001 Solid Graphics, All rights reserved. |
| To view this site, we require use of either Netscape Navigator 4.0 or higher or Internet Explorer 4.0 or higher. |