右击网上邻居图标,选属性,双击本地连接,选属性,TCP/IP组件,属性,就会看到可以改变IP地址的地方了
解决方案 »
- hook代码中窗体Domodal问题
- 在class CMainFrame : public CFrameWnd类的OnCreate()中new一个工具条对象,请问在什么地方delete?
- 单击菜单为什么没有响应呢?
- 如何在MFC下弹出另一个对话框直接显示运算结果和数据?
- 如何区分 USB High Speed Device 和 Full Speed Device
- 关于windows图元文件显示的问题
- TREECTRL 中如何得到被选中节点的位置
- 怎么样能知道那个线程长时间没有运行了?
- CToolBar类的LoadBitmap和SetBitmap如何使用?(手头没有MSDN)
- com编程中的类工厂到底是做什么用的呢?
- 感谢wt13!!!
- 如何搜索本机的共享文件夹
To szk(szk):
搞笑,我要代码
用shellExcute()打开网上邻居,
等待....成功的话:
find相应的handle,
发送相应的消息:
哈啊哈
源代码???
有结果贴出来>>>>>>>>>>>>
TO tomyu(飞鱼): 你说的路径似乎有问题,好象网卡不同路径就不同。
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);^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
有用么
为什么?
在CSDN提的问题总是不了了之?