posted @ 2020-05-08 23:15 jjw 阅读(300) 评论(0) 推荐(0)
摘要:
// Globally register all base components for convenience, because they // will be used very frequently. Components are registered using the // PascalC 阅读全文
摘要:
{ "name": "playvue", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vu 阅读全文
posted @ 2020-05-03 22:20 jjw 阅读(1658) 评论(0) 推荐(0)
摘要:
1 uses 2 Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, 3 Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IdBa 阅读全文
posted @ 2020-03-29 21:20 jjw 阅读(378) 评论(0) 推荐(1)
摘要:
dataset.first while not dataset.eof do begin --N行代码 dataset.next; end 讨厌上面的写法了,作个封装. 1 interface 2 3 uses 4 System.SysUtils, System.Classes, Data.DB; 阅读全文
posted @ 2020-03-29 01:17 jjw 阅读(186) 评论(0) 推荐(0)
摘要:
delphi 10.2+up3 win7 自带IIS 发布测试 客户端用DSRestConnection1连接. 问题是 datasnap (群qq:67803772)一个 群友提出的, 经过摸索发现 DSRestConnection1.urlPath 需要设置为 IIS发布的名称 + 访问路径 测 阅读全文
posted @ 2020-03-05 15:54 jjw 阅读(398) 评论(0) 推荐(0)
摘要:
try {// http.post 调用 updatelogin 方法 http.get 调用 login 方法 const { data: res } = await this.$http.post('/TSM/login/', { _parameters: [this.loginForm.use 阅读全文
posted @ 2020-02-19 14:59 jjw 阅读(427) 评论(0) 推荐(0)
摘要:
在mysql下载站点下载驱动文件:libmysqlclient20_5.7.28-1debian9_amd64 64位 ,1.5M 安装后,lazarus IDE 就可以直接连MYSQL了。 数据库测试环境: win10 + mysql5.7 --64位。 补充: MYSQL默认只能localhos 阅读全文
posted @ 2019-12-25 00:06 jjw 阅读(987) 评论(0) 推荐(0)
摘要:
procedure TMyThread.Execute; begin //Application.EventLog.FileName:='d:\xx.txt'; //Application.EventLog.Info('OKOKOK'); //DbgOutThreadLog('OOKKOOKK' + 阅读全文
posted @ 2019-12-24 12:00 jjw 阅读(467) 评论(0) 推荐(0)
摘要:
lazarus中的TSQLQuery相当于delphi中的TClientDataSet,必须 SQLQuery.ApplyUpdates; SQLTransaction.Commit; 数据才能提交. TSQLQuery.Options可以设定是否自动提交.默认是false.另外TSQLConnec 阅读全文
posted @ 2019-12-23 23:40 jjw 阅读(937) 评论(0) 推荐(0)
摘要:
lazarus站点的文档中看到的.简单用法: uses LCLProc; DbgOutThreadLog (msg: string); overload; --有好几个不同参数的定义. 阅读全文
posted @ 2019-12-23 19:55 jjw 阅读(661) 评论(0) 推荐(0)
浙公网安备 33010602011771号