2008 March 11th Tuesday (三月 十一日 火曜日)

本文探讨了使用Java GUI和CGI程序进行消息传递的区别。发现Java GUI消息比CGI消息长4字节,并且这4字节全为0xFF。文中还介绍了在SCS上创建、删除及修改内存记录的过程,指出直接修改记录不可行,需要通过先删除后重新注册的方式来间接实现。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  There are two kinds of messages using to communicate.  One is used by GUI written by Java, another is used by our CGI program.
I found that the former is 4 bytes longer than the later.  The 4 bytes are all 0xFF.

  Today I tested how to register, delete, and modify a record in memory on a SCS.  I created three messages.  The register message
and delete message can be accepted successfully.  But the modification message can not be accepted.  It means that we can not update
a record by sending a message.  We must adopt an indirectly way that is to delete the old record and register a new record with new
states.

  There is a phenomenon when deleting a record, the slot of the record of deleted is not set by initialized values -- 0.  Some fields
still hold their values.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值