News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

RADASM intellisense STRUCT issues

Started by Raistlin, June 25, 2015, 11:23:24 PM

Previous topic - Next topic

Raistlin

Hi KetilO, Donkey and the others that have improved RADASM so much over the years,
my deepest thanks for your efforts.

I have a small issue with STRUCTS using MASM under RADASM 3.0.0.9c

The intellisense does'nt seem to show up all the component fields for quickselect.

example:
OSVERSIONINFOEX STRUCT
  dwOSVersionInfoSize DWORD ?
  dwMajorVersion  DWORD ?
  dwMinorVersion  DWORD ?
  dwBuildNumber   DWORD ?
  dwPlatformId    DWORD ?
  szCSDVersion    BYTE  128  dup (?)
  wServicePackMajor WORD ?
  wServicePackMinor WORD ?
  wSuiteMask        WORD ?
  wProductType      BYTE ?
  wReserved         BYTE ?
OSVERSIONINFOEX ENDS


RADASM will not display the members wSuiteMask & wProductType - but will end the selection list with wReserved.

Programmatically I can obviously override as such (below) and it works - just thought there might be a workaround.


ASSUME esi : ptr OSVERSIONINFOEX
...
mov al, [esi].wProductType
...

Thanks
Raistlin
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

qWord

RadAsm use the declaration found in file winasmStruct.api -> rename your structure declaration or modify the API file.
MREAL macros - when you need floating point arithmetic while assembling!

Raistlin

Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...