flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
casey 18 Sep 2005, 02:43
Hi all,
My background: NASM using the NASMIDE IDE in DOS. I am now up to Iczelion's Tutorial 8, Menu. I am using Iczelion's tutorial along with Sulaiman Chang's FASM versions of the examples. What 'language' does a resource script use? It appears different with MASM and FASM. Is it the Assembler or the OS that reads this script? I assume the LoadMenu API is how the menu resource script is referenced to the program. invoke LoadMenu, [wHInstance], 30 ; FASM invoke LoadMenu, hInst, OFFSET MenuName ; MASM Now in MASM, 'MenuName' is an address label to a byte array, "FirstMenu",0 In the FASM version it is what? I have found the 30 in the resource section: resource appMenu, 30, LANG_ENGLISH, menuMain and, menuitem 'MenuBar C (without item)', 30, MFR_END which I take is an ID that is returned in the wmCOMMAND's wParam when the item with that ID is clicked. Is there any easy way to understand all this? Regards, John Casey email: jgkjcasey@yahoo.com.au |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.