Change IP Address by Delphi code
Posted on 2003-03-12
im trying to change my IP Address by delphi code . now i trying to change it by registry but i found a problem , i cant write Reg_MULTI_SZ . You can find the IP Address in this path (\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces) in one of its sub key
in the rootkey ( HKEY_LOCAL_MACHINE ) in windows 2000 . I can get the subkey of the IP Address and read it , but i cant change it because i dont know how can i use REG_MULTI_SZ .
I want to know about that , or know another way to set IP Address by code .