Currently I'm using fipWinImage to draw image on screen, my code is written in C++(as following).
fipWinImage* m_ClientColorImg;
.....
float width = m_ClientColorImg->getWidth();
The initialization of m_ClientColorImg
is not listed here. Sometimes accessing error would occur when I use getWidth()
function, but I found that the pointer of this fipWinImage
object is normal, not NULL
or any corrupted pointers. Does anyone know how to check the fipWinImage
object to ensure there is data in it? Or could someone figure out the reason of the error probably?