Look for Iphelp in the platform sdk. There is an example ipchange.cpp that
does what your looking for.
HTH,
Tony
Quote:
>Hi,
>Is there a possibility to change a machines ip without having admin
>rights with a small program?
>My problem is: There's a laptop which is used for presentations. Normal
>users
>aren't allowed to change network settings - it is not allowed because of
our
>company's security
>advisors. But with every presentation the laptps ip changes - so I want to
>wrtie a
>small program which can be used for doin this job. It would be ok to
>code admin username and passwd.
>Any ideas?