flat assembler
Message board for the users of flat assembler.
Index
> Windows > this, imho, should work, but why it won't? |
Author |
|
vbVeryBeginner 28 Aug 2004, 16:47
hi,
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 Code: 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 exp04.asm [115]: icon icoGroup,icoSmall,'iSmall.ico' D:\FASM\1.55W\INCLUDE\macro/resource.inc [73] icon [13]: group dd RVA header,6+count*14,0,0 error: symbol already defined. actually, i did search this forum for related information Code: 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 http://sulaiman.thefreebizhost.com/software/ieSwitchImage.zip 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. sincerely, vbVeryBeginner d(*.*)b |
|||
28 Aug 2004, 16:47 |
|
vbVeryBeginner 28 Aug 2004, 17:04
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 > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.