论坛


2009年7月13日 星期一

使用Perst微型数据库引擎

rarnu| 橙子的Delphi技术专区-delphi |21:59:00

Perst是一个嵌入式的微型数据库引擎,使用它可以方便的在移动平台下开发数据库类的应用程序。本文中采用Delphi.NET对Perst进行操作,为了直观起见,这个演示程序去掉了原始程序中复杂的数据逻辑操作,仅保留最简单的select首先,新建一个Delphi.NET的工程,然后添加P...

Remobjects SDK 6.0.39 复合类型(TROArray)的释放内存变化。

TinTinSoft| 碧水航工作室-Remobjects |19:13:00

前阵子,将 RO SDK 5.0.37升级到6.0.39版本,客户端 编译通过,但在运行时,释放 传入(Const声明) 参数 (TROArray)有指针异常错误,但传出(out声明)参数(TROArray)释放却没有问题。这很奇怪,之前版本的RO SDK是没有 TROArray 释放内存问题。再测试,将传入(Co...

Delphi遍历控件

幸福苹果| 幸福苹果-delphi |18:22:00

http://blog.csdn.net/liquanhai/archive/2008/04/17/2300552.aspx1.如何遍历一个panel中所有的控件?Var    i: integer;begin    for i:=0 to Panel1.ControlCount do    begin     &nbs...

如何使用SendMessage发送按键组合,例如:Ctrl+A

扬帆| 扬帆Blog - Delphi |17:58:21

var        hwnd   :   Integer;    begin        hwnd   :=   FindWindow('Notepad',   nil);        SetForegroundWindow(hwnd);        ke...

Generic Solution to Freeing Objects in Delphi’s TStrings

About.com| About.com Delphi Programming |08:27:44

in Delphi TIPS :: Delphi TStrings object does not own the objects you add this way. Objects added to the TStrings object still exist even if the TStrings instance is...