上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: var cpuset : set of 0..31; cpucount, i:integer; begin cpucount := sysset.ReadInteger('SysConfig', 'cpucount', 2); // 默认给两个就可以了 cpuset:=[]; for i := 0 阅读全文
posted @ 2022-01-13 16:27 Tag 阅读(145) 评论(0) 推荐(0)
摘要: 调用bat 启动程序要用start 不然某些操作系统版本 任务管理器会残留cmd.exe、conhost 进程 。次数多了会占用资源 阅读全文
posted @ 2022-01-13 08:44 Tag 阅读(72) 评论(0) 推荐(0)
摘要: delphi ShellExecute 传递多个参数 如果调用的exe 接收多个参数。 一般无特殊可以用空格隔开,但是如果参数的值本身有空格。则得按这样的格式来传递 "p1","p2" 参数值有空格 ShellExecute(0, 'open',PAnsiChar('exe') , PAnsiCha 阅读全文
posted @ 2021-12-29 10:27 Tag 阅读(535) 评论(0) 推荐(0)
摘要: {不阻塞提示对话框 TimeOut 超时参数,多久没有回应。超过时间则返回 IDTIMEOUT 默认0无限等待 返回: IDABORT (3) Abort IDCANCEL (2) Cancel IDCONTINUE (11) Continue IDIGNORE (5) Ignore IDNO (7 阅读全文
posted @ 2021-12-27 11:49 Tag 阅读(193) 评论(0) 推荐(0)
摘要: https://help.realvnc.com/hc/en-us/articles/360004334431-How-do-I-launch-VNC-Viewer-connections-from-a-shortcut-the-command-line-or-automatically-when- 阅读全文
posted @ 2021-12-24 09:18 Tag 阅读(86) 评论(0) 推荐(0)
摘要: function ConvertGMTTimeToLocalTime(GMTTimeStr: string): string; var TimeStrList: TStringList; Month: string; LocalTime: TDateTime; begin //GMTTIME Tue 阅读全文
posted @ 2021-12-22 17:03 Tag 阅读(430) 评论(0) 推荐(0)
摘要: 经测试: 测试的是docs.qq.com 用Fiddler2 去监控时,因为使用了代理。RTC 自动会使用winhttp 的,所以在看的时候是可以的。一旦退出了Fiddler2 就又不可以了。 1. UseWinHTTP = False 时如果请求的是https的,用的是winnet.dll 的 H 阅读全文
posted @ 2021-12-22 10:10 Tag 阅读(327) 评论(0) 推荐(0)
摘要: //一般可以在一开始就先连接网站。设置自动连接即可 with RtcHttpClient do begin AutoConnect := True; ServerAddr := 'xxxx.com'; ServerPort := '80'; if not RtcHttpClient.isConnec 阅读全文
posted @ 2021-12-16 17:53 Tag 阅读(366) 评论(0) 推荐(0)
摘要: http://ceye.io http://www.dnslog.cn/ https://www.anquanke.com/post/id/98096 https://mp.weixin.qq.com/s/MFKs80OcUdtUKmBO6WBcQA? https://www.cnblogs.com 阅读全文
posted @ 2021-12-11 14:39 Tag 阅读(48) 评论(0) 推荐(0)
摘要: function TfrmBillattachment.cxRicheditInsertFile(FilePath:string): Boolean; const REO_CP_SELECTION = $FFFFFFFF; REO_IOB_SELECTION = $FFFFFFFF; IID_IUn 阅读全文
posted @ 2021-12-09 13:56 Tag 阅读(307) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 下一页