On 17.04.2012, at 16:38, Henry Widjaja wrote:

> Hi guys,
> 
> I'm writting a win32 app, I subclassed Fl_Window, then add a png image to 
> appear inside the window. Everything's ok in Debug mode, but in Release mode 
> the image does not show up,what appeared is just a red colored background. 
> Here's some code from the program...


VisualC puts debug executables in different directories than release 
executables. Are you sure your app finds the path to the image? Try an absolute 
path. Also, verify the 'current directory' is set where you expect it to be 
(launching an app from the desktop may *not* set the current dir to where the 
executable is!).
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to