#77531 - 2001-04-06 07:33 PM
ENUMIPINFO
|
gdstiers
Fresh Scripter
Registered: 1999-08-11
Posts: 14
Loc: Chattanooga, TN, USA
|
The Odyssey indicates TCP/IP information is available via EnumIPInfo function. The example: $result=EnumIPInfo().I get no result on WinNT 4.0 Workstation: $x=1 :loop1 $addr=EnumIPInfo() ? "Address is ($addr)" $addr=EnumIPInfo($x,0) ? "Address for adapter ($x) is ($addr)" if @error=0 ? "Address for adapter ($x) is ($addr)" $x=$x+1 goto loop1 endif I appreciate all suggestions :-)
------------------ gdstiers@tva.gov
|
|
Top
|
|
|
|
#77533 - 2001-04-09 11:30 AM
Re: ENUMIPINFO
|
Anonymous
Anonymous
Unregistered
|
EnumIPInfo requires NT 4.0 SP4 or later.If you are running SP4+, and the problem still exists, let me know. Ruud
|
|
Top
|
|
|
|
#77535 - 2001-04-09 03:32 PM
Re: ENUMIPINFO
|
cj
MM club member
   
Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
|
|
|
Top
|
|
|
|
#77536 - 2001-04-09 04:01 PM
Re: ENUMIPINFO
|
gdstiers
Fresh Scripter
Registered: 1999-08-11
Posts: 14
Loc: Chattanooga, TN, USA
|
My NT 4 Workstation is also SP6
|
|
Top
|
|
|
|
#77538 - 2001-06-05 02:01 AM
Re: ENUMIPINFO
|
Anonymous
Anonymous
Unregistered
|
Is this issue resolved? Has anyone got this to work? If so, would you please post your code?I need to use the array to get each of the four available items isolated into it's own variable for further manipulation. Thanks!
|
|
Top
|
|
|
|
#77539 - 2001-06-07 02:44 AM
Re: ENUMIPINFO
|
Anonymous
Anonymous
Unregistered
|
Here is what I got from Ruud. Basically, it has nothing to do with the OS, but rather to do with IE: ----- EnumIPInfo depends on IPHLPAPI.DLL, and that is only installed with IE 5.01 or higher. Previous builds (inc b2) had a hard link to this DLL, but the latest build silently fails the call and sets @error instead. ----- Uhm, so who was it that said IE was not part of the OS?
|
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 2419 anonymous users online.
|
|
|