右击网上邻居图标,选属性,双击本地连接,选属性,TCP/IP组件,属性,就会看到可以改变IP地址的地方了

解决方案 »

  1.   


    To szk(szk):
       搞笑,我要代码
      

  2.   

    瞎说:
      用shellExcute()打开网上邻居,
      等待....成功的话:
    find相应的handle,
    发送相应的消息:
      哈啊哈
    源代码???
      有结果贴出来>>>>>>>>>>>>
      

  3.   

    注册表中HKEY_LOCAL_MACHINE\SYSTEM\SERVICE\NETTRANS\,用写注册表的API改之,然后调用ExitWindowsEx()即可。
      

  4.   


    TO tomyu(飞鱼):    你说的路径似乎有问题,好象网卡不同路径就不同。
      

  5.   

    Network Property for IP Addresses
    The Network property describes the network for which the IP address is to be created. Quick Info
    Type: Null-terminated Unicode string 
    Access: Read/write 
    Status: Required 
    Function: ClusterResourceControl 
    Structure: CLUSPROP_SZ 
    Control Code: CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES 
    Res
    The Network property is the name of the network. When ClusterResourceControl processes the CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES control code, it returns a property list that includes the Network property as one of the entries. The property value portion of the entry contains a CLUSPROP_SZ structure that is set as follows:CLUSPROP_SZ NetworkValue;
    LPCWSTR NetworkData = L "NetworkX";
    NetworkValue.Syntax = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
    NetworkValue.cbLength = sizeof(NetworkData);
    lstrcpyW(NetworkValue.sz, NetworkData);^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    有用么
      

  6.   


    为什么?
    在CSDN提的问题总是不了了之?
      

  7.   

    csdn的开发稳当曾有一篇文章介绍过,可以通过自定义IP数据包头来实现。好象WIN98里无此种API函数......