Message board for the users of flat assembler.
> Windows > this, imho, should work, but why it won't?
i have started to play with the resource, just encountered one problem,
i wish to tie 2 icon into grouped icon (one is 16x16 and another one is 32x32)
into an application, below is my section 'rsrc' resource data readable
section '.rsrc' resource data readable directory RT_ICON,appIcon,\ RT_GROUP_ICON,appGroupIcon resource appIcon,\ 1,LANG_NEUTRAL,icoBig,\ 2,LANG_NEUTRAL,icoSmall resource appGroupIcon,\ 17,LANG_NEUTRAL,icoGroup icon icoGroup,icoBig,'iBig.ico' icon icoGroup,icoSmall,'iSmall.ico'
i received the following error
flat assembler version 1.55
D:\FASM\1.55W\INCLUDE\macro/resource.inc  icon :
group dd RVA header,6+count*14,0,0
error: symbol already defined.
actually, i did search this forum for related information
section '.rsrc' resource data readable directory RT_GROUP_ICON,group_icons,\ RT_ICON,icons resource group_icons,\ 100,LANG_NEUTRAL,First_icon,\ 200,LANG_NEUTRAL,Second_icon,\ 1,LANG_NEUTRAL,Third_icon,\ 2,LANG_NEUTRAL,Fourth_icon ; The lowest icon number will be used as the main window Icon, other icons can be used for ; the Window small icon or for other controls. resource icons,\ 100,LANG_NEUTRAL,First_icon_data,\ 200,LANG_NEUTRAL,Second_icon_data,\ 1,LANG_NEUTRAL,Third_icon_data,\ 2,LANG_NEUTRAL,Fourth_icon_data icon First_icon,First_icon_data,'Active1.ico' icon Second_icon,Second_icon_data,'Active2.ico' icon Third_icon,Third_icon_data,'Filesys3.ico' icon Fourth_icon,Fourth_icon_data,'Check mark.ico'
but the above code will just create 4 groups :( not what i want.
if you use the ResHackder to view the resource of my ieSwitchImage.exe
u will really see those icons are grouped together under the Icon Group.
(i use RC last time to compile the resource file).
if u view notepad with ResHacker, u will also see the same result.
|28 Aug 2004, 16:47||
Do it this way:
icon icoGroup,icoBig,'iBig.ico',\ icoSmall,'iSmall.ico'
I'm really sorry I still haven't written any good documentation for the macros from fasmw package, anyway I remember it's on my "to do" list.
|28 Aug 2004, 16:53||
wow, superb after-download support
u solved it in 6 minutes
thumbs up for u privalov
|28 Aug 2004, 17:04||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.