Hi Antonio. Am 07.12.2016 um 19:31 schrieb Antonio Scuri: > 2) what do you mean by "attached resources"? Resources in the .RC file linked > into the executable?
Yes > In the first case, simply use the same when associating the atribute, for > instance if your resource declaration in the RC file is "MYIMAGE1" then simply > do iup.label{image = "MYIMAGE1"} Probably my situation is a little more difficult (see: [1] for a older version): To create a statically linked executable, i have precompiled lua runtime and precompiled lua modules ready. I compile a WinMain.c, that preloads all lua modules to link statically. Finally i link the custom WinMain() + lua-libs + resources. This way, iup has no way to access descriptive resource labels. The question is: Can I load the resources addressed by resource-id too? this is my .rc file: --8<---------------------------------------- 0 ICON "bubble.ico" 1 BITMAP "24_abort.png" 2 BITMAP "24_check.png" 3 BITMAP "24_clock.png" 4 BITMAP "24_new.png" 5 BITMAP "24_save.png" 6 BITMAP "24_send.png" --8<---------------------------------------- [19: https://github.com/Fuzzlix/omm/tree/master/luaRUN ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users