On 17/04/2012 15:38, Henry Widjaja wrote:

>      img    = new Fl_PNG_Image ("img\\Backdrop_Image_1.png");

As Matt said, it sounds very much like your app is not finding the path 
to the image correctly, so worth checking to see if CWD is where you 
think it is, or even coding an absolute path to the image...

As an aside, it may be worth trying setting the path in the 
"posix-style" too, i.e. using "/" rather than "\" as the separator, as a 
lot of MS API's (though annoying not all...) are actually perfectly 
happy with that, and it makes your code that little bit more portable.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to