首页 上一页 1 2 下一页 尾页

关于NETDDE的通讯问题 点击:3671 | 回复:37



gongkongedit

    
  • 精华:1099帖
  • 求助:0帖
  • 帖子:14392帖 | 54470回
  • 年度积分:0
  • 历史总积分:622
  • 注册:2008年9月08日
发表于:2002-12-19 21:03:00
楼主
WINOWS98计算机与WINDOWS98计算机之间可以通过NETDDE进行通讯。 NT计算机与NT计算机之间也可以通过NETDDE进行通讯。 但奇怪的是WINDOWS98计算机无法使用NETDDE去访问NT计算机上的数据。 (NT计算机可以通过NETDDE取到98计算机上数据) 我是仔细看过用户手册,并按照其上的要求操作的 当WINDOWS98使用NETDDE去访问NT上的数据时,会弹出WINDOWS NT的用户名以及密码框。 即使我输入的用户名,密码正确,但仍旧无法通过验证,以至于无法取到数据 我尝试过Administrator的密码,和已经 在NT上登陆的用户名/密码,甚至把WINDOWS98的计算机也加入到NT的域中,但仍旧无法在98上取到 NT的数据。 请问各位高手,是何原因?如何解决?



郭轶

  • 精华:0帖
  • 求助:0帖
  • 帖子:1帖 | 6回
  • 年度积分:0
  • 历史总积分:12
  • 注册:2001年6月25日
发表于:2002-03-15 20:30:00
21楼
我使用WINDOWS API + MFC实现DDE类。

asgq

  • 精华:0帖
  • 求助:0帖
  • 帖子:5帖 | 13回
  • 年度积分:0
  • 历史总积分:28
  • 注册:2001年12月14日
发表于:2002-03-17 12:43:00
22楼
OK 我对Delphi比较熟悉 以前总用控件写,如今想尝试一下用Api来写 大家可以交流交流

郭轶

  • 精华:0帖
  • 求助:0帖
  • 帖子:1帖 | 6回
  • 年度积分:0
  • 历史总积分:12
  • 注册:2001年6月25日
发表于:2002-03-17 14:37:00
23楼
我是使用VC,DELPHI并不熟悉。 关于API可以参考MSDN

asgq

  • 精华:0帖
  • 求助:0帖
  • 帖子:5帖 | 13回
  • 年度积分:0
  • 历史总积分:28
  • 注册:2001年12月14日
发表于:2002-03-17 14:44:00
24楼
郭铁 有QQ吗

asgq

  • 精华:0帖
  • 求助:0帖
  • 帖子:5帖 | 13回
  • 年度积分:0
  • 历史总积分:28
  • 注册:2001年12月14日
发表于:2002-03-17 14:49:00
25楼
郭轶: Sorry

gongkongedit

  • 精华:1099帖
  • 求助:0帖
  • 帖子:14392帖 | 54470回
  • 年度积分:0
  • 历史总积分:622
  • 注册:2008年9月08日
发表于:2002-03-25 12:43:00
26楼
项目中两台win98pc机,均在netdde中用netbios或tcp/ip两种方式连接成功后,约在6~24小时后连接则断开。在win98网络邻居中,查看对方,时好时无,但是Ping对方均成功。我个人认为可能是操作系统本事的问题。欢迎大家对这一问题展开讨论!高手请发言!

asgq

  • 精华:0帖
  • 求助:0帖
  • 帖子:5帖 | 13回
  • 年度积分:0
  • 历史总积分:28
  • 注册:2001年12月14日
发表于:2002-03-26 08:51:00
27楼
请jzrjzr详细说明情况 我帮你测试一下

gongkongedit

  • 精华:1099帖
  • 求助:0帖
  • 帖子:14392帖 | 54470回
  • 年度积分:0
  • 历史总积分:622
  • 注册:2008年9月08日
发表于:2002-03-28 12:02:00
28楼
我也遇到2000与98连不通的情况,官方为什么不发报一个技术文章呢?请各位大侠指教.请成功者把方法详细点EMAIL给我. 非常感谢! EMAIL:levens@21cn.com 泉

郭轶

  • 精华:0帖
  • 求助:0帖
  • 帖子:1帖 | 6回
  • 年度积分:0
  • 历史总积分:12
  • 注册:2001年6月25日
发表于:2002-03-28 14:29:00
29楼
能否请sllau把98(-)2000的方法贴出来?

gongkongedit

  • 精华:1099帖
  • 求助:0帖
  • 帖子:14392帖 | 54470回
  • 年度积分:0
  • 历史总积分:622
  • 注册:2008年9月08日
发表于:2002-03-28 16:19:00
30楼
如何用intouch 去采集fix的数据(在两台不同的机器上),我用netdde,结果没试通,就连采 excel的数据也不行,两台机器需要有什么配置?我用的是nt的操作系统

wwtech

  • 精华:3帖
  • 求助:0帖
  • 帖子:6帖 | 272回
  • 年度积分:0
  • 历史总积分:343
  • 注册:2001年6月18日
发表于:2002-03-28 16:58:00
31楼
When establishing a NetDDE connection to a Windows NT 4.0 node, a user must specify their user name, domain name (or workgroup), and password in the Enter Network Access Password dialog box (referred to in this Tech Note as the "password dialog box"). This is because the C2 security level of the Windows NT 4.0 operating system requires proper authentication when connecting to a Windows NT 4.0 node. This authentication is even required when connecting from one Windows NT 4.0 node to another Windows NT 4.0 node. Some users, however, prefer not to have the password dialog box appear. This Tech Note describes:      1.How to keep the password dialog box from appearing more than once when connecting a Windows 95 node to a Windows NT 4.0 node.   2.How to keep the password dialog box from appearing at all when connecting a Windows NT 4.0 node to a Windows NT 4.0 node      The password dialog box is shown below:
Connecting a Windows 95 Node to a Windows NT 4.0 Node:   A user will always need to enter, at least once, their user name, domain name, and password in the password dialog box when attempting to connect a Windows 95 node to a Windows NT 4.0 node. This is true even if both nodes are a member of the same domain.      To keep the password dialog box from appearing more than once, create a user on the Windows NT 4.0 node in the User Manager. The user does not need to have special privileges, but it must have a real password. A blank password could create security problems. Once the user enters this user information in the password dialog box the first time, the box should not appear again unless the machine is shut down and then restarted.         Connecting a Windows NT 4.0 Node to Another Windows NT 4.0 Node:   The password dialog box will not appear when a user connects a Windows NT 4.0 node to another Windows NT 4.0 node if there is a defined domain and both machines are logged onto this domain. In this case, the user must also be logged on with the priviledges that are necessary to access the server node. Otherwise, if one node is on the domain and the other node is not, then the password dialog box will appear when a connection is attempted.      To keep the password dialog box from appearing when the two nodes are on different domains, follow these steps: 1. On the server node, open the User Manager, located under the Administrative Tools menu, as seen below:
2. Next, create a user and assign the user a real password, not a blank password. Click the Password Never Expires check box and then close the User Manager. 3. Repeat the previous step on the client node, using the same user name and password. 4. Log off of the client node and then log on again, but this time enter the user name and password that you just created. You will be able to establish a conversation to the server node without being prompted for a password, even though the two nodes are not on the same domain.

gongkongedit

  • 精华:1099帖
  • 求助:0帖
  • 帖子:14392帖 | 54470回
  • 年度积分:0
  • 历史总积分:622
  • 注册:2008年9月08日
发表于:2002-04-01 17:57:00
32楼
我在Win95与win98的Netdde连接中也出现单方向连接成功的情况,请高手讨论发言。

gongkongedit

  • 精华:1099帖
  • 求助:0帖
  • 帖子:14392帖 | 54470回
  • 年度积分:0
  • 历史总积分:622
  • 注册:2008年9月08日
发表于:2002-04-02 19:49:00
33楼
我同时精通Delphi和VC以及API编程 开发过DDEServer和OPC Server 如有问题可以和我联系 欢迎编程高手和我交流编程心得

asgq

  • 精华:0帖
  • 求助:0帖
  • 帖子:5帖 | 13回
  • 年度积分:0
  • 历史总积分:28
  • 注册:2001年12月14日
发表于:2002-04-03 09:13:00
34楼
QDGSKZ: 为什么VB开发的Ocx,vb,vc能用,Delphi用就有问题

gaowei3020

  • 精华:0帖
  • 求助:0帖
  • 帖子:1帖 | 2回
  • 年度积分:0
  • 历史总积分:8
  • 注册:2003年6月12日
发表于:2002-11-20 22:22:00
35楼
Win98<->Win98之间NetDDE连接用网卡能成功,请教如果用串行通讯 的方式进行连接能否成功?

无名_001

  • 精华:0帖
  • 求助:0帖
  • 帖子:0帖 | 33回
  • 年度积分:0
  • 历史总积分:39
  • 注册:2002年12月19日
发表于:2002-12-19 21:03:00
36楼
好贴,我也对各种方法进行了各种测试,费了很长的时间

风中的树林

  • 精华:0帖
  • 求助:0帖
  • 帖子:3帖 | 36回
  • 年度积分:0
  • 历史总积分:68
  • 注册:2004年3月25日
发表于:2004-12-11 20:44:00
37楼
哪位高手能否把2000至2000的DDE通信过程讲一下,或者有资料发下,最好是中文的。不胜感激。 xyv998@21cn.com

热门招聘
相关主题

官方公众号

智造工程师
    首页 上一页 1 2 下一页 尾页