上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 70 下一页

2020年6月10日

Delphi XE 10 真机调试错误提示:Can't bind address: Address already in use. Exiting.

摘要: Delphi XE 10 真机调试错误提示:Can't bind address: Address already in use. Exiting. 原因分析:连接意外断开或拔出 解决方法: 1、卸载 已安装的软件 2、重启手机。 创建时间:2020.06.10 更新时间: 阅读全文

posted @ 2020-06-10 15:26 滔Roy 阅读(633) 评论(0) 推荐(0) 编辑

2020年6月8日

[原创]Delphi XE 泛型 容器[1] Tlist<T>使用

摘要: {该文首发于博客园 滔Roy,无须授权即可转发,请自觉保留头部申明} Delphi XE 泛型 容器[1] Tlist<T> uses System.Generics.Collections; //泛型容器单元 包含了以下类( 来自 XE10 ): TArray TEnumerator<T> TEn 阅读全文

posted @ 2020-06-08 16:55 滔Roy 阅读(1713) 评论(0) 推荐(0) 编辑

2020年6月6日

Delphi 操作读取.dat类型文件内容

摘要: {该文首发于博客园 滔Roy,无须授权即可转发,请自觉保留头部申明} Delphi 操作读取.dat类型文件内容 其实.dat的文件数据是文本数据,故用记事本就可以打开。 var Str:string; sList : TStringList; i:integer; begin sList:=TSt 阅读全文

posted @ 2020-06-06 11:52 滔Roy 阅读(840) 评论(0) 推荐(0) 编辑

2020年6月5日

Delphi Socket常见错误代码与描述

摘要: Delphi Socket常见错误代码与描述 : Socket error 0 – Directly send error Socket error 10004 – Interrupted function //call 操作被终止 Socket error 10013 – Permission d 阅读全文

posted @ 2020-06-05 11:28 滔Roy 阅读(1961) 评论(0) 推荐(0) 编辑

2020年6月4日

Delphi XE 移动端错误弹框““Blocking dialogs not implemented on this platform””

摘要: Delphi XE 移动端错误弹框“Blocking dialogs not implemented on this platform” 参考: https://www.cnblogs.com/guorongtao/p/13044244.html 创建时间:2020.06.04 更新时间: 阅读全文

posted @ 2020-06-04 16:20 滔Roy 阅读(379) 评论(0) 推荐(0) 编辑

Delphi XE Android安卓 移动端 MessageDlg 用法

摘要: Delphi XE Android安卓 移动端 MessageDlg 用法 MessageDlg ('今天天气:'+#13+' very good!', TMsgDlgType.mtInformation, [TMsgDlgBtn.mbOk], 0, procedure(const AResult: 阅读全文

posted @ 2020-06-04 16:18 滔Roy 阅读(713) 评论(0) 推荐(0) 编辑

Delphi XE 跨平台(WINDOWS、ANDROID安卓、苹果MACOS、苹果IOS)写法

摘要: Delphi XE 跨平台(WINDOWS、ANDROID安卓、苹果MACOS、苹果IOS)写法 {$IFDEF MSWINDOWS} //代码 {$ENDIF} {$IFDEF ANDROID} //代码 {$ENDIF} {$IFDEF MACOS} //代码 {$ENDIF} {$IFDEF 阅读全文

posted @ 2020-06-04 09:27 滔Roy 阅读(894) 评论(0) 推荐(0) 编辑

Delphi 字符串函数 StrPas和StrPCopy - String转Char / Char 转 String

摘要: Delphi StrPas和StrPCopy - String转Char / Char 转 String 函数原型: StrPas {$IFNDEF NEXTGEN} function StrPas(const Str: PAnsiChar): AnsiString; begin Result := 阅读全文

posted @ 2020-06-04 09:12 滔Roy 阅读(2979) 评论(0) 推荐(0) 编辑

Delphi 字符串类型 Char 和PChar

摘要: Delphi 字符串类型 Char 和PChar array[0..255] of Char 类型在声明的时候已经为变量分配了内存,而PChar类型只是一个空指针,没有分配内存,如果用PChar,就必须先分配内存,例如: SetLength(Nam,255); GetMem(Nam,255); 创建 阅读全文

posted @ 2020-06-04 08:42 滔Roy 阅读(478) 评论(0) 推荐(0) 编辑

2020年6月2日

Delphi System.StrCopy 复制Char 字符串

摘要: Delphi System.StrCopy 复制Char 字符串 原型: char* strcpy(char* strDest,const char* strSrc); Delphi 使用示例: var arr: array[0..5] of Char; begin StrCopy(arr, 'De 阅读全文

posted @ 2020-06-02 15:03 滔Roy 阅读(1090) 评论(0) 推荐(0) 编辑

上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 70 下一页

导航