The warning means that you are not pointing to a structure of type tSprite. i.e. explo1 it not of type tSprite. I do not use mirko but I assume tSprite is part of his sdk. I imagine this structure should be pointing to the actual bmp data. Check the declaration of explo1.