A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows ME » Networking
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Any win32 API to set IP Address?



 
 
Thread Tools Display Modes
  #1  
Old November 2nd 04, 07:28 AM
Alex Blekhman
external usenet poster
 
Posts: n/a
Default Any win32 API to set IP Address?

Konda Ankireddyapalli wrote:
Anyone knows of any Windows API to set IP address on an adapter(or
a virtual adapter)?


I don't know how to do that. But there is IPCONFIG utility that can
change IP address. When I want to do something similar to what system
utilities do I always open their executables with Dependency Walker
and look at imported API functions. Then I read in MSDN about these
functions. Usually at this point solution becomes clear.

HTH
Alex


  #2  
Old November 2nd 04, 02:26 PM
Phil Ineichen
external usenet poster
 
Posts: n/a
Default

"Alex Blekhman" wrote in news:2uor97F2c0emlU1@uni-
berlin.de:

Konda Ankireddyapalli wrote:
Anyone knows of any Windows API to set IP address on an adapter(or
a virtual adapter)?



You can use the IpReleaseAddress and IpRenewAddress fuctions in case your
are having a DHCP. Otherwiese you need the AddIpAddress and DeleteIpAddress
IP Helper functions.

PI
 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Situation. TCP/IP Can't Assign DHCP address Bob N. Networking 1 September 7th 04 04:42 AM
address book Otto Piechowski General 3 August 3rd 04 03:25 AM
Windows Security Update CD Feb 2004 Tom _Hyde Software & Applications 8 July 31st 04 12:16 AM
ICS and STATIC IP address. Kenny S Networking 3 July 14th 04 03:25 PM
Can't type IP Address in Network Control Panel Paul Newman Networking 1 June 7th 04 11:17 AM


All times are GMT +1. The time now is 10:00 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.