摘要:varFReQuestM :=TMemoryStreamFReQuestM.Write(PChar(FcVoucherXML)^, Length(FcVoucherXML));这样就读到流中了。
        阅读全文
        
            posted @ 2013-11-05 15:46
| 
 | ||
| 随笔分类 - Delphi Stream操作
摘要:varFReQuestM :=TMemoryStreamFReQuestM.Write(PChar(FcVoucherXML)^, Length(FcVoucherXML));这样就读到流中了。
        阅读全文
 
            posted @ 2013-11-05 15:46 
摘要:Delphi7下实现HTTP的Post操作unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, StdCtrls, Buttons, OverbyteIcsWndControl, OverbyteIcsHttpProt;type TForm1 = class(TForm) btn1: ...
        阅读全文
 
            posted @ 2013-10-31 14:25 
摘要:一、流的概念 流简单说是建立在面向对象基础上的一种抽象的处理数据的工具,它定义了一些处理数据的基本操作,如读取数据,写入数据等,程序员只需掌握对流进行操作,而不用关心流的另一头数据的真正流向。其实,流就是把整个对象转化为一个一个单字节数据,然后形成数据流,其形同把固体石块打碎成一颗颗细小的沙子一样,
        阅读全文
 
            posted @ 2013-10-31 14:00 
 | ||