摘要:
GUID aguid; _di_IInterface a, c; Calld::TEventSink* FEventSink; Server_tlb::_di_IServerWithEvents FServer; FServer = CoServerWithEvents::Create(); //...
阅读全文
posted @ 2015-08-06 15:17
lypzxy
阅读(379)
推荐(0)
摘要:
c++builder 重载WindowProc、WndProc 截获消息 方法一WindowProc void __fastcall myWindowProc(Messages::TMessage &msg); //增加Classes::TWndMethod OldWindowProc; //增加
阅读全文
posted @ 2015-08-05 16:22
lypzxy
阅读(1008)
推荐(0)
摘要:
RegisterClassLoadPackageGetprocaddressFindClassUnRegisterModuleClassesUnloadPackage
阅读全文
posted @ 2015-08-04 21:54
lypzxy
阅读(216)
推荐(0)
摘要:
ApplicationIdle不忙的时候调用此事件::Fmx::Forms::Application->OnIdle = ApplicationIdle;void __fastcall TForm1::ApplicationIdle(TObject *Sender, bool &Done){ ...
阅读全文
posted @ 2015-07-30 18:54
lypzxy
阅读(317)
推荐(0)
摘要:
not recommend ,only for studyprocedure TForm1.Button3Click(Sender: TObject);var ssi, sso: TStringStream; abt: TBytes; s1: string;begin ssi := TStr...
阅读全文
posted @ 2015-07-30 16:07
lypzxy
阅读(269)
推荐(0)
摘要:
Gridheh 垂直居中 上下居中each columns set layoutColumnDefValues.Layout = tlCenter有colResize,拖动调整列宽。但是没有rowResize,鼠标拖动调整行高。
阅读全文
posted @ 2015-07-30 09:56
lypzxy
阅读(177)
推荐(0)
摘要:
c++builder xe8 hash calc md5、sha256、sha384、sha512 file and string sha256、sha384、sha512 must call load function . system function not use any third par
阅读全文
posted @ 2015-07-29 19:01
lypzxy
阅读(612)
推荐(0)
摘要:
xe8 [dcc32 Fatal Error] RaizeComponentsVcl_Design.dpk(40): E2202 Required package 'VclJPG' not foundinstall compoent dpk errorchange requires files li...
阅读全文
posted @ 2015-07-29 17:42
lypzxy
阅读(1773)
推荐(0)
摘要:
system.ZLib http://docwiki.embarcadero.com/CodeExamples/Berlin/en/ZLibCompressDecompress_(Delphi) 还不如万老师的例子正确,官方的例子是 http://www.cnblogs.com/del/archiv
阅读全文
posted @ 2015-07-28 22:49
lypzxy
阅读(1552)
推荐(0)
摘要:
DebugHook该变量在调试状态下值为1,运行模式为0,例如,我们可以使用如下的代码来简单控制:if DebugHook=0 then
阅读全文
posted @ 2015-07-28 22:28
lypzxy
阅读(1255)
推荐(0)
摘要:
delphi dcp componentTDCP_md5md5 String;md5 stream;流文件procedure TForm1.Button1Click(Sender: TObject);var hashd: array [0 .. 31] of Byte; abytes: TByt...
阅读全文
posted @ 2015-07-28 10:09
lypzxy
阅读(737)
推荐(0)
摘要:
#include DWORD GetHash( CONST BYTE * pbData, DWORD dwDataLen, ALG_ID algId, LPTSTR pszHash ){ DWORD dwReturn = 0; ...
阅读全文
posted @ 2015-07-27 22:35
lypzxy
阅读(639)
推荐(0)
摘要:
component to string string to component StringToComponent ComponentToString ObjectTextToBinary ObjectBinaryToText ReadComponent RegisterClass WriteCom
阅读全文
posted @ 2015-07-26 23:29
lypzxy
阅读(466)
推荐(0)
摘要:
xe8 okunit TntLXCryptoUtils;interfacefunction AES128_Encrypt( Value, Password : string ) : string;function AES128_Decrypt( Value, Password : string ) ...
阅读全文
posted @ 2015-07-26 22:34
lypzxy
阅读(2236)
推荐(0)
摘要:
d:\program files (x86)\embarcadero\studio\16.0\SOURCE\RTL\SYS\SysInit.pas ModuleIsLib: Boolean; { True if this module is a dll (a library or a package
阅读全文
posted @ 2015-07-26 12:12
lypzxy
阅读(315)
推荐(0)