Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22
  1. #21
    Dwar
    Dwar is offline
    Veteran Dwar's Avatar
    Join Date
    2010 Mar
    Posts
    2,222
    Thanks Thanks Given 
    211
    Thanks Thanks Received 
    2,230
    Thanked in
    292 Posts
    Rep Power
    10
    Quote Originally Posted by Kn0xx View Post
    multilevel pointer retrieving cardinal.
    If you asking about retrieving result from the baseAddres + offset string, you can use recursive function, something like this (just schema):
    Code:
    function GetMultiPointer(BASEOFFSET: cardinal; "OFFSET+OFFSET1+OFFSET2", step: int): cardinal;
    begin
       pointerArray := parse("OFFSET+OFFSET1+OFFSET2");
       ResultCardinal := GetMultiPointer(ReadPointer(BASEOFFSET + pointerArray[step]), "OFFSET+OFFSET1+OFFSET2", step + 1);
       Result := ResultCardinal;
    end;
    Or simple for cycle
    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

  2. #22
    Kn0xx
    Kn0xx is offline
    New member
    Join Date
    2012 Jul
    Posts
    6
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Thank you Dwar, much appretiated, I will try it later.

    I'm still learning this stuff, quite over my head for now, but i can make it.

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •