摘要:
http://docwiki.embarcadero.com/CodeExamples/Berlin/en/ShortCut_(Delphi)
阅读全文
posted @ 2017-04-24 10:09
lypzxy
阅读(344)
推荐(0)
摘要:
sql server 排序规则 查看服务器的排序规则 SELECT SERVERPROPERTY(N'Collation') select SERVERPROPERTY('Collation'); Chinese_PRC_CI_AS 修改数据库的排序规则 ALTER DATABASE tempdb
阅读全文
posted @ 2017-04-19 15:05
lypzxy
阅读(343)
推荐(0)
摘要:
C# 调用win32 DLL报错 System.BadImageFormatException 项目右键属性->项目设计器->生成->平台->把'默认设置(任何 CPU)'改为x86。 因为'任何 CPU'的程序在64位的机器上就会用运行为64位,而64程序是不能加载32位dll的
阅读全文
posted @ 2017-04-12 22:18
lypzxy
阅读(865)
推荐(0)
摘要:
delphi 连接DBF 使用 DBF 文件时,文件夹表示数据库,单个 DBF 文件表示表 1、BDE,已淘汰 table1.Databasename:=dbdir;//设置库路径table1.TableName:=dbname; 2、ADO 1)用Microsoft jet4.0驱动字符串,大多数
阅读全文
posted @ 2017-04-11 22:19
lypzxy
阅读(1313)
推荐(0)
摘要:
delphi 动态绑定代码都某个控件 TButton(self.FindComponent('Button16')).OnClick := TNotifyEvent(aMethod); 这个要强制转换, 改为rtti属性设置赋值。
阅读全文
posted @ 2017-04-08 22:39
lypzxy
阅读(477)
推荐(0)
摘要:
delphi RTTI 四 获取类属性列表 GetPropList(btn1.ClassInfo, tkAny, PropList) PropCount := GetTypeData(btn1.ClassInfo).PropCount;
阅读全文
posted @ 2017-04-08 21:18
lypzxy
阅读(927)
推荐(0)
摘要:
控件编辑器和属性编辑器类似 http://www.rgzz.sdedu.net/ebook/hdbook/computer/bc/delphizhuanti/rmjq/028.htm
阅读全文
posted @ 2017-04-07 20:43
lypzxy
阅读(913)
推荐(0)
摘要:
RegisterPropertyEditor TPictureEditor = class(TClassProperty) RegisterPropertyEditor(TypeInfo(TPicture), nil, '', TPictureEditor); RegisterPropertyEdi
阅读全文
posted @ 2017-04-07 20:42
lypzxy
阅读(1075)
推荐(0)
摘要:
des加密delphi与c# C#默认是CBC,PKCS7
阅读全文
posted @ 2017-03-30 21:02
lypzxy
阅读(958)
推荐(0)
摘要:
delphi c#语法转换 s:array[1..5] of integer TIArr = array of integer; Berlin有这个新功能 TArray<Integer>;
阅读全文
posted @ 2017-03-29 15:31
lypzxy
阅读(489)
推荐(0)
摘要:
技嘉主板:B150M-D3H 网卡驱动: CPU: 风扇: 机箱: 显示器:
阅读全文
posted @ 2017-03-25 19:12
lypzxy
阅读(183)
推荐(0)
摘要:
.net DLL 注册 regasm regasm regasm myTest.dll regasm.exe 打开vs2005自带的工具“Visual Studio 2005命令提示”,输入上述命令 在没有安装vs开发环境的电脑上,必须安装。net framwork环境2.0以上,或根据项目要求安装
阅读全文
posted @ 2017-03-22 10:05
lypzxy
阅读(1095)
推荐(0)
摘要:
1、定时自动关机 建立批处理bat文件c:\windows\system32\shutdown -s -t 0,然后建立计划任务,执行此命令。 2、定时开机 设置bios,power manager setup>Resume by Alarm>每天执行>开机时间> 3、凭条纸安装 压敏纸 非接触IC
阅读全文
posted @ 2017-03-18 11:23
lypzxy
阅读(322)
推荐(0)
摘要:
delphi继承form 没有inherited;就不会调用父类的方法。 http://blog.csdn.net/foreverhuylee/article/details/37907817 调用父类方法必须明确写上。t0::fun();
阅读全文
posted @ 2017-03-15 13:56
lypzxy
阅读(408)
推荐(0)
摘要:
[bcc32 Error] System.ZLib.hpp(310): E2040 Declaration terminated incorrectly Full parser context DllUnit.cpp(9): #include frm\ttunit1.h ttunit1.h(58):
阅读全文
posted @ 2017-03-13 10:16
lypzxy
阅读(707)
推荐(0)