登录
首页 » delphi » SPcomm

SPcomm

于 2022-07-27 发布 文件大小:9.57 kB
0 86
下载积分: 2 下载次数: 1

代码说明:

 //for i:=0 to BufferLength-1 do // begin    // rstr:=rstr+IntToHex(Byte(Pointer(integer(Buffer)+i)^),2)+" ";      Move(buffer^, Rev, 32);  //将接收到缓存区的数据转移到数组中     //  rstr:=rstr+String(Rev);       for i:=0 to 31 do      rstr:=rstr+inttohex(Rev[i],2)+" ";       // showmessage(rstr);    rstr:=DateTimeToStr(Now)+"接收数据: "+rstr+#13;     Memo1.Lines.Add(rstr);     Memo1.Lines.Add(#13);     // 数据解析   { case rev[0] of    $20:   // 变量1       begin         case Rev[1] of         $00:            begin            if(Rev[2]=$AA)and

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Delphi IntToHex函数用法举例
    关于IntToHex,在Delphi中使用频率也是挺高的,不过像我这种菜鸟,对IntToHex的具体用法仍是不太熟悉,后来看了这个小程序,了解了一些,分享给大家,特别是以下代码会加深你对IntToHex函数的用法理解。   procedure TForm1.Button1Click(Sender: TObject);   var    S:integer;   begin    S:=2147483647;    showmessage(inttoHex(s,8));    showmessage(inttoHex(s,10));    showmessage(inttoHex(s,16));    showmessage(inttoHex(s,32));   end;
    2022-09-07 01:20:03下载
    积分:1
  • 支票打印
    由Delphi编写,对支票进行打印,详细账目(from Delphi to print checks, detailed accounts)
    2005-05-15 21:43:35下载
    积分:1
  • delphi中拷贝文件的源代码(与processbar相结合)
    delphi中拷贝文件的源代码(与processbar相结合)-copy the source code (processbar combined)
    2023-08-09 03:10:03下载
    积分:1
  • 一个简单的多媒体播放组件,能播放avi等三种格式
    一个简单的多媒体播放组件,能播放avi等三种格式-A simple media player component, three kinds of formats that can play avi, etc.
    2022-03-18 07:32:27下载
    积分:1
  • robot1.7-source
    Robot game source for pascal
    2013-11-16 07:01:48下载
    积分:1
  • VCLSkin5.03.07.12. FullSource
    VCLSkin5.03.07.12. FullSource
    2022-07-21 14:10:19下载
    积分:1
  • DELPHI of web information collection procedures, you can use
    DELPHI的web信息采集程序,可以使用-DELPHI of web information collection procedures, you can use
    2022-03-31 22:39:41下载
    积分:1
  • curve
    delphi 生成曲线代码。你可以任意修改它。(delphi code generated curve. You can arbitrarily change it.)
    2010-02-21 21:17:00下载
    积分:1
  • 一个用Delphi编制的遗传算法程序,依据差异进化的原理实现最优化。...
    一个用Delphi编制的遗传算法程序,依据差异进化的原理实现最优化。-GA source codes programmed with Delphi.
    2022-07-12 09:33:31下载
    积分:1
  • window
    可根据需要自定义窗口形状,用于各种特效窗口开发(Customizable window shape, for a variety of special effects needed to develop window)
    2014-02-07 14:42:46下载
    积分:1
  • 696516资源总数
  • 106686会员总数
  • 0今日下载