Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

REG_BINARY and the regwrite method

Status
Not open for further replies.

melkor

Programmer
Jul 1, 2001
3
GB
Hi

I am developing a script that will automatically create and activate a DHCP scope as part of an unattended installation. I have 99% or it done but have come across a small problem with REG_BINARY. The decimal value for a 192.168.1.0 is 3232235776. Every time I use the REGWRITE method I get an overflow error. I cannot convert this number to a hex value also because of this overflow message . Has anyone done this or is this just another example of Microdull software.

Thanks in advance

Melkor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top