Prev Previous Post   Next Post Next
Old 24th July 2009, 17:45   #1
BoscoBilly
Junior Member
 
Join Date: May 2009
Posts: 43
pointers with System::Call

Hi.
I am using the GetMacAddr sample provided by Brainsucker.
Getting the IP_ADAPTER_INFO structure vars the way he did it works fine - thanks Brainsucker!
However, I am trying to get a string var in that struct that needs to be accessed by pointer.
here are two lines: the 1st is the working stuff with my attempt to get the pointer I need; the 2nd is my non-working atempt to retrieve the value of that pointer that I need.

System::Call '*$4(i.r4,i,&t260.r5, &t132.r6, i.r7, l.r8,,,,,*i R1)'

System::Call '$R1->IpAddressList.IpAddress.String(t R2)'

At the end of the first line, var R1 is a pointer.
In the 2nd line, I try to get the string - it returns nothing.
Could someone pl explain what I am doing wrong here?
Thx.
BoscoBilly is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump