摘要:
unit public_key; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TForm1 = class(TForm) Panel1: TPanel; Label1: TLabel; Edit1: TEdit; Edit2: TEdit; Button1: TButton; Button2: TButton; Edit... 阅读全文
摘要:
//判断字符是否是汉字function IsMBCSChar(const ch: Char): Boolean; begin Result := (ByteType(ch, 1) mbSingleByte); end; 注:只能判断AnsiString类型的参看StrUtils.ByteType函数引用http://www.cnblogs.com/myqiao/archive/2005/08/29/225527.html 阅读全文
摘要:
uses ShellAPI;function ExecAndWait(const ExecuteFile, ParamString : string): boolean;var SEInfo: TShellExecuteInfo; ExitCode: DWORD;begin FillChar(SEInfo, SizeOf(SEInfo), 0); SEInfo.cbSize := SizeOf(TShellExecuteInfo); with SEInfo do begin fMask := SEE_MASK_NOCLOSEPROCESS; Wnd := Applicat... 阅读全文
摘要:
0.C自带库/函数在线文档http://www.acm.uiuc.edu/webmonkeys/book/c_guide/1.so文件制作和使用http://blog.csdn.net/love3s/article/details/75154402.哈希表http://blog.csdn.net/hongqun/article/details/61032753.编写服务程序http://blog.csdn.net/gobitan/article/details/5903342http://colding.bokee.com/5277082.html4.epoll使用http://blog.cs 阅读全文
摘要:
KissXml——xml解析库相关教程:http://www.iteye.com/topic/625849http://sencho.blog.163.com/blog/static/83056228201151743110540/很方便的一个xml解析器,支持Xpath查询。skpsmtpmessage——Quick SMTP邮件发送svn checkout http://skpsmtpmessage.googlecode.com/svn/trunk/ skpsmtpmessage-read-onlygithub: git clone https://github.com/kailoa/.. 阅读全文