I'm trying to use types to extract information at fixed locations
in memory.
For example to modify the PBVUSERAREA.
I can do it this way.
------------------
[This message has been edited by Dave Stanton (edited October 26, 2000).]
in memory.
For example to modify the PBVUSERAREA.
I can do it this way.
Code:
TYPE PBVUSERTYPE Check AS BYTE Action AS BYTE Level AS BYTE Retval AS BYTE Caller AS STRING * 12 Spare AS STRING * 16 END TYPE DIM Pu AS PBVUSERTYPE Q$=PBVUSERAREA LSET Pu=Q$ Pu.Caller="MYPROG.BAS" PBVUSERAREA=Pu I thought it may be easier to DIM the type at an absolute address DIM ABSOLUTE Pu AS PBVUSERTYPE AT VARPTR32(PBVUSERAREA)/16 but the compiler complained. Is my syntax wrong, or it just can't be done. Any comments appreciated. Dave <[email protected]>
[This message has been edited by Dave Stanton (edited October 26, 2000).]
Comment