flat assembler
Message board for the users of flat assembler.
Index
> Windows > error compiling this code (menu problem) |
Author |
|
moriman 04 May 2006, 22:51
Hi,
I have a good idea that the solution to this will have me kicking myself for weeks but here goes... I have a menu like this... Code: menu _menuMain menuitem '&File',0,MFR_POPUP menuitem '&Open',MI_OPEN,0 menuitem '&Save...',MI_SAVE,0 menuitem 'Save&As...',MI_SAVEAS,0 menuseparator menuitem 'E&xit',MI_EXIT,MFR_END menuitem '&Edit',0,MFR_POPUP menuitem 'Cu&t',MI_CUT,0 menuitem '&Preferences...',MI_PREF,MFR_END which appears ok to me but it refuses to compile, giving the following error.. flat assembler version 1.64 test.asm [84]: menu _menuMain E:\Win98\Progra~1\fasm\include\macro/resource.inc [153] menu [1]: label dd RVA data,size,0,0 error: undefined symbol. If I change the one-before-last menuitem to Code: menuitem 'Cu&t',MI_CUT,MFR_END then it compiles without any errors The complete source here
|
|||||||||||
04 May 2006, 22:51 |
|
moriman 05 May 2006, 09:02
Ah! Many thanks, so it was the MFR_POPUP+MFR_END I was missing
|
|||
05 May 2006, 09:02 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.