Page 1 of 1 1
Topic Options
#77531 - 2001-04-06 07:33 PM ENUMIPINFO
gdstiers Offline
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

_________________________
gdstiers@tva.gov

Top
#77532 - 2001-04-09 10:37 AM Re: ENUMIPINFO
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
EnumIPInfo appears not to work on NT4...

I tested this:

enumipinfo ?
enumipinfo() ?
enumipinfo(0) ?
enumipinfo(0, 0) ?

on win2k and nt4 and got my IP address four times on win2k and nothing four times on NT4.

cj

Top
#77533 - 2001-04-09 11:30 AM Re: ENUMIPINFO
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
#77534 - 2001-04-10 12:15 AM Re: ENUMIPINFO
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Ruud :

tested it on NT4 running SP 6a ...
it reported Error Code 50 (ERROR_NOT_SUPPORTED)

Jochen

[This message has been edited by jpols (edited 09 April 2001).]

_________________________



Top
#77535 - 2001-04-09 03:32 PM Re: ENUMIPINFO
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
My machine is SP6


cj

Top
#77536 - 2001-04-09 04:01 PM Re: ENUMIPINFO
gdstiers Offline
Fresh Scripter

Registered: 1999-08-11
Posts: 14
Loc: Chattanooga, TN, USA
My NT 4 Workstation is also SP6
_________________________
gdstiers@tva.gov

Top
#77537 - 2001-04-25 06:45 PM Re: ENUMIPINFO
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
It works under Windows 98 SE but not under Windows NT 4.0 Service Pack 6a
_________________________
There are two types of vessels, submarines and targets.

Top
#77538 - 2001-06-05 02:01 AM Re: ENUMIPINFO
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
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
#77540 - 2001-07-01 05:42 PM Re: ENUMIPINFO
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

The Kixtart 4.00 RC 1 release doesn't have a hard link to IPHLPAPI.DLL
files.
Greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2419 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.053 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.