What does "gif should be beside the application" mean? You mean as a resource? What's the difference to bmp? How is static linking related to the problem? Presumably you are importing the image format plugin since you can see the gif.