Here's one for you IP gurus out there...
I need to be able to set a computer's IP address (static), subnet mask and default gateway programatically from PB/DLL. I assume this would be done by changing registry keys, but that's as far as I get... The computers in question are running Win 98, but a generic Win32 approach would be preferred. If I could also check that the computer is really set up to use a static address (as opposed to obtaining one through DHCP or similar) it would be great, but it's not essential.
I've tried searching MSDN etc, but either I don't know what to look for or it isn't there. Any hints on how to accomplish this would be very much appreciated!
Thanks,
Ketil
------------------
I need to be able to set a computer's IP address (static), subnet mask and default gateway programatically from PB/DLL. I assume this would be done by changing registry keys, but that's as far as I get... The computers in question are running Win 98, but a generic Win32 approach would be preferred. If I could also check that the computer is really set up to use a static address (as opposed to obtaining one through DHCP or similar) it would be great, but it's not essential.
I've tried searching MSDN etc, but either I don't know what to look for or it isn't there. Any hints on how to accomplish this would be very much appreciated!
Thanks,
Ketil
------------------
Comment