since Jan, 2005? That's the date on the one I'm using and the one in the downloads section of the PB site.
I'm having a little trouble with a call that uses the IP_ADAPTER_INFO type from IpHlpApi.inc.
Specifically:
Used in:
gives "invalid member/name" on "AdapInfo.Address"
The api defines the type:
I'm having a little trouble with a call that uses the IP_ADAPTER_INFO type from IpHlpApi.inc.
Specifically:
Code:
LOCAL AdapInfo AS IP_ADAPTER_INFO
Code:
TRIM$(STR$(AdapInfo.Address))
The api defines the type:
Code:
TYPE IP_ADAPTER_INFO pNext AS IP_ADAPTER_INFO PTR ComboIndex AS DWORD AdapterName AS STRING * (%MAX_ADAPTER_NAME_LENGTH + 4) Description AS STRING * (%MAX_ADAPTER_DESCRIPTION_LENGTH + 4) AddressLength AS DWORD Address(0 TO %MAX_ADAPTER_ADDRESS_LENGTH - 1) AS BYTE 'this is the offending member/name Index AS DWORD uType AS DWORD DhcpEnabled AS DWORD CurrentIpAddress AS IP_ADDR_STRING PTR IpAddressList AS IP_ADDR_STRING GatewayList AS IP_ADDR_STRING DhcpServer AS IP_ADDR_STRING HaveWins AS LONG PrimaryWinsServer AS IP_ADDR_STRING SecondaryWinsServer AS IP_ADDR_STRING LeaseObtained AS LONG LeaseExpires AS LONG END TYPE
Comment