application-defined exception
摘要:dataSnap服务器,客户端调用的时候写错了一句话,SQLConnection1->CloneConnection();改为SQLConnection1->Close();就好了,查了一天。调试的时候报错,还能继续运行,在服务器上crash崩溃退出。"Project ... faulted wit...
阅读全文
posted @
2015-04-09 20:02
lypzxy
阅读(737)
推荐(0) 编辑
路径惹的祸
摘要:ReportMachinexe6 下 withpackage,打上勾,编译程序打印正常。勾去掉,打印报错经比对,发现2个窗体不一样,RM_PrintDlg.dfm,正常的有cmbDuplex控件(双面打印),报错是是没有cmbDuplex控件,那就说明链接找错地方了。经查是 tools>option...
阅读全文
posted @
2014-12-19 18:38
lypzxy
阅读(153)
推荐(0) 编辑
Declaration terminated incorrectly 讨厌 这样就不可以了
摘要:#include "vcl.fctreeview.hpp"#include "RM_Class.hpp"#include "RM_Common.hpp" 这样可以 #include "RM_Class.hpp"#include "RM_Common.hpp"#include "vcl.fctreev
阅读全文
posted @
2014-12-19 15:11
lypzxy
阅读(880)
推荐(0) 编辑
XE6 任务栏 控件
摘要:WIN7/WIN8 ONLY,鼠标放在任务栏上,预览程序界面,用此控件可以预览安装进度条。Taskbar1->ProgressMaxValue = 100;Taskbar1->ProgressState = 1;Taskbar1->ProgressValue = 90;ProgressState I...
阅读全文
posted @
2014-09-03 16:07
lypzxy
阅读(311)
推荐(0) 编辑
FDMemTable 数据集
摘要:c++builder FDMemTable 内存表内存数据表:现在应该首选 TFDMemTable 了(之前是 TClientDataSet)FDMemTable->CloneCursor(ds, true, true);FDMemTable->Data = fdQuery->Data;FDMemT...
阅读全文
posted @
2014-09-03 15:47
lypzxy
阅读(2220)
推荐(0) 编辑
判断当前运行的平台
摘要:http://www.cnblogs.com/cb168/articles/3958577.html
阅读全文
posted @
2014-09-03 10:18
lypzxy
阅读(290)
推荐(0) 编辑
c++builder XE6 Remote Debuger 远程调试
摘要:1、远程目标机器 安装D:\Program Files (x86)\Borland\Remote Debugger\20,没有光盘从已安装的xe6电脑上Bin目录下拷贝文件 注册dll文件 regsvr32 bordbk200.dllregsvr32 bordbk200N.dll 运行rmtdbg2
阅读全文
posted @
2014-09-01 18:10
lypzxy
阅读(795)
推荐(0) 编辑
c++builder XE6 线程 tthread
摘要:thread TThread http://codeverge.com/embarcadero.cppbuilder.cpp/trttimethod-do-not-work/1055179 delphi Synchronize代码是阻塞执行的。query.Open()放在这个函数执行是达不到线程效果
阅读全文
posted @
2014-08-26 16:07
lypzxy
阅读(894)
推荐(0) 编辑
c++builder 代码模板 code templates
摘要:c++builder XE6 代码模板 Code Templates Ctrl+J
阅读全文
posted @
2014-08-26 14:41
lypzxy
阅读(501)
推荐(0) 编辑
XE 创建 Active Form
摘要:XE6:http://docwiki.embarcadero.com/RADStudio/XE6/en/Generating_an_Active_Form_Based_on_a_VCL_Formhttp://docwiki.embarcadero.com/RADStudio/XE8/en/Creat...
阅读全文
posted @
2014-08-23 08:56
lypzxy
阅读(642)
推荐(0) 编辑
ListView 操作
摘要:ListView1->Items->Item[0]->Caption; ListView1->Items->Item[0]->EditCaption(); ListView1->Items->Item[0]->EditCaption(); ListView取得EditCaption后EDITLABE
阅读全文
posted @
2014-08-20 22:05
lypzxy
阅读(276)
推荐(0) 编辑
XE6 c++builder Edit垂直居中
摘要:class TMyEdit : public Vcl::Stdctrls::TEdit{ virtual void __fastcall CreateParams(TCreateParams& Params); void __fastcall WMSize(TWMSize &Messag...
阅读全文
posted @
2014-08-19 15:05
lypzxy
阅读(663)
推荐(0) 编辑
TTreeView.OnCustomDrawItem
摘要:TTreeNode *node; node = this->TreeView1->Items->Add(0, "AAAA"); TreeView1->Items->AddChild(node, "aaa1"); TreeView1->Items->AddChild(node...
阅读全文
posted @
2014-08-13 15:43
lypzxy
阅读(702)
推荐(0) 编辑
xe Style
摘要://注意引用:vcl.themes, vcl.styles, IOutilsprocedure TForm1.FormCreate(Sender: TObject);var stylename: string;begin TStyleManager.LoadFromFile('F:\My\Sty...
阅读全文
posted @
2014-08-13 10:02
lypzxy
阅读(243)
推荐(0) 编辑
delphi 加密 XOR
摘要:From http://www.delphigeist.com/2009/09/text-encryption-with-xor.htmlText encryption with XOREver wanted to encrypt a text message?In order to do that...
阅读全文
posted @
2014-08-12 14:26
lypzxy
阅读(1038)
推荐(0) 编辑
ReportMachine 自定义代码 画细线
摘要:procedure Memo3_OnBeforePrint(Sender: TObject);begin Memo3.Text := inttostr(Footer1.Top); Memo4.Text := inttostr(MasterData1.datasetName); Diagonal1...
阅读全文
posted @
2014-08-11 14:03
lypzxy
阅读(419)
推荐(0) 编辑