Author Topic: RADASM intellisense STRUCT issues  (Read 1621 times)

Raistlin

  • Member
  • ***
  • Posts: 259
RADASM intellisense STRUCT issues
« on: June 25, 2015, 11:23:24 PM »
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:
Code: [Select]
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.

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

Thanks
Raistlin

qWord

  • Member
  • *****
  • Posts: 1471
  • The base type of a type is the type itself
    • SmplMath macros
Re: RADASM intellisense STRUCT issues
« Reply #1 on: June 25, 2015, 11:58:42 PM »
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

  • Member
  • ***
  • Posts: 259
Re: RADASM intellisense STRUCT issues
« Reply #2 on: June 26, 2015, 12:10:05 AM »
Thanks Qword, will have a look