It is possible to make so, what the ambassador:

struc MenuRes {
.mii MENUITEMINFO
.Capt: times 100 db 0
.Poz dd 0
.PopUpPoz dd 0
.uFlag dd 0
.size = $ - .mii};.
mrs MenuRes

After a set mrs. there was a window with the members of structure MenuRes?
Posted on 2003-12-07 07:41:12 by pas
For what assembler ? In MASM it would be something like:
MenuRes STRUCT 

mii MENUITEMINFO <>
Capt db 100 DUP (?)
Poz dd ?
PopUpPoz dd ?
uFlag dd ?
isize DD SIZEOF MenuRes
MenuRes ends

In GoAsm:
MenuRes STRUCT 

mii MENUITEMINFO <>
Capt db 100 DUP
Poz dd
PopUpPoz dd
uFlag dd
isize DD SIZEOF MenuRes
MenuRes ends
Posted on 2003-12-07 08:33:24 by donkey
In Fasm.
Posted on 2003-12-07 09:12:30 by pas
struc MenuRes

{
.mii MENUITEMINFO
.Capt rb 100
.Poz dd ?
.PopUpPoz dd ?
.uFlag dd ?
.isize dd ?
}
struct MenuRes
Posted on 2003-12-07 09:27:29 by donkey
erorr.

I create the new project in RadAsm, I remove from the project files which he automatically has created, I add in the project already files, existing at me. In one of files such definition of structures:
struc MENUITEMINFO {
.cbSize dd 0
.fMask dd 0
.fType dd 0
.fState dd 0
.wID dd 0
.hSubMenu dd 0
.hbmpChecked dd 0
.hbmpUnchecked dd 0
.dwItemData dd 0
.dwTypeData dd 0
.cch dd 0
.size = $ - .cbSize};

struc MenuRes {
.mii MENUITEMINFO
.Capt: times 100 db 0
.Poz dd 0
.PopUpPoz dd 0
.uFlag dd 0
.size = $ - .mii};.
IdNum 1, \;macros creates numerical constants with the given names counted from 1
IDM_NEW, \
IDM_OPEN
In structure MENUITEMINFO by last member of structure is determined struc, and in MenuRes after .size are added IdNum, IDM_NEW etc.
In a file Fasm.ini


Code=return, proc
Const = {C}, $ =, $ equ
Data = {C}, $ db, $ dw, $ dd, $ dq
Macro =}, Macro
Struct =}, struc
Posted on 2003-12-08 11:41:15 by pas
Hi Pas,

I dont understand, are you still having a problem with it or did you find a solution ?
Posted on 2003-12-08 11:56:49 by donkey
In the masm-projects of structure are defined correctly. After definition
mrs MenuRes < >
At input from the keyboard
mrs.
There is a window with the list of the members of structure.
In FASM-projects after definition
struc MENUITEMINFO {
.cbSize dd 0
.fMask dd 0
.fType dd 0
.fState dd 0
.wID dd 0
.hSubMenu dd 0
.hbmpChecked dd 0
.hbmpUnchecked dd 0
.dwItemData dd 0
.dwTypeData dd 0
.cch dd 0
.size = $ - .cbSize}


struc MenuRes {
.mii MENUITEMINFO
.Capt: times 100 db 0
.Poz dd 0
.PopUpPoz dd 0
.uFlag dd 0
.size = $ - .mii}
mrs MenuRes
In Info Tool there are lines described in the previous message. In "properties- > struct" there are types of structures MenuRes and MENUITEMINFO. At prompting on the names of types of structures (in "properties- > struct") occurs Tooltips with a line " MENUITEMINFO No entry " or "MenuRes. No entry".
At input from the keyboard
mrs.
There is no window with the list of the members of structure.
Posted on 2003-12-08 19:31:17 by pas