[Iup-users] IupLoadImage causing Seg Fault for me

Jeremy Cowgar jeremy at cowgar.com
Wed Oct 10 12:31:20 GMT+3 2007


Hm. Things have a way of working much better when you use them correctly :-)

Thanks! All working great now.

Jeremy

Antonio Scuri wrote:
>  
>   IupLoadImage returns an image, that is a resource not a control. 
>
>   You must add a control like label or button, then associate the image to
> the control. Can use for instance:
>
> IupSetAttributeHandle(label, "IMAGE", IupLoadImage ("support/logo.png"));
>
>   This will run even if IupLoadImage fails.
>   




More information about the iup-users mailing list