社区
Windows SDK/API
帖子详情
有谁知道Target,在DELPHI中如何使用?
kzy7517
2004-12-11 09:48:35
看DELPHI的VCL的TDATASETACTION中有用到Target,不知是何东东,如何使用。想根据VCL代码做一个功能,实现程序能够自动找到当前的活动TDATASET。
...全文
125
4
打赏
收藏
有谁知道Target,在DELPHI中如何使用?
看DELPHI的VCL的TDATASETACTION中有用到Target,不知是何东东,如何使用。想根据VCL代码做一个功能,实现程序能够自动找到当前的活动TDATASET。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
kzy7517
2004-12-18
打赏
举报
回复
是delphi标准Vcl中的东东。
在VCL控件中第一页加入actionlist,再在actionlist中增加标准数据库动作,
例如TdatasetFirst。然后,在窗口中增加一个按钮,将按钮的action设置为
这个动作。再加入一些Query就可以观察到Action的行为。
fan178
2004-12-14
打赏
举报
回复
是不是第3方控件啊,我怎么没找到呢?再那个控件组里?
kzy7517
2004-12-13
打赏
举报
回复
看VCL中TDATASETACTION,可以智能地找到当前程序中的活动dataset。
1、如果当前窗口没有dataset,则动作自动无效。
2、如果当前窗口只有一个dataset,则是自动指向这个dataset。如果该dataset的Active为假,则动作自动无效。
3、如果当前窗口有多个dataset,则光标所在的数据感知控件对应的dataset为活动的dataset。
就是想实现这个功能。
richard_ouyang
2004-12-11
打赏
举报
回复
即使有target好像也不能实现那个功能哈。
还是自己设置个变量存储当前活动的dataset吧
delphi
反编译工具 Decompiler v1.1.0.194
Delphi
Decompiler can analyze executables compiled with
Delphi
2 to 7 giving you; all DFM files of the
target
, commented ASM code with references to strings, imported function calls, classes methods calls, components in the unit, Try-Except and Try-Finally blocks. Note, this is a rewrite of the original DeDe. Changes and updates include: + Updated the DSF Editor * Fixed loss of DSF editor when parsing + In DSF editor adds support for
Delphi
2007, 2009, 2010 (so far works only for parsing. Bpl) * Optimized code for rendering assembly code * Full reconstruction project to accelerate work on a batch of assemblies and the subsequent testing + Updated the PE Editor + Improved the window "Options" + Added ability to change fonts: - In the DFM Editor - Lists ListView - In disassembler * Reduced the delay timer on the window screen saver * Fixed a PE editor + Added saving of projects
Delphi
2007 + Added saving of projects
Delphi
2009 + Added saving of projects
Delphi
2010 + Rewritten engine decompilation DCU + Rewrote the analysis engine EXE + New format doi and dsf + Completely changed interface + Ability to fully maintain the project (full load project being finalized) + Full support for programs written in
Delphi
2 - 7
Windows 32位64位系统
Delphi
10 通用控件ComPort V4
找了好久能在
Delphi
10下,亲测10.1-10.3.3全部可用的串口控件,基于ComPort的升级版本。 安装方法: 1、首先
使用
你正在用的
Delphi
XE版本,XE-XE10.3.3,都可以,编译CPortLibDXE.dproj、DsgnCPortDXE.dproj文件。 2、用
Delphi
XE以上开发工具打开DsgnCPortDXE.dproj,在开发工具的由此项目区,ProjectGroup1下的CPortLibDex.bpl下的
Target
Platforms(Win32)选择Windows 32-Bit。然后在鼠标放置到CPortLibDex.bpl位置,右键先点Clean(清除),然后再点ComPile(编译)。编译后还是在CPortLibDex.bpl位置右键点击Install,进行安装。RAD Studio开发工具将完成控件安装。 3、控件安装后在菜单栏Tools -- Options -- Language --
Delphi
-- Libray
中
找到Selected PlatForm下分别选择Windows 32-Bit、Windows 64-Bit,分别在32位和64位的LibrayPath
中
添加当前控件的路径,完成后。 4、可用正常
使用
ComPort串口控件,可用分别编译Windows32位及Windows64位应用程序。
make零基础教程(Linux系统) Makefile 自动化 构建
make是在1977年在贝尔实验室(Bell Labs)研发的 Unix系统
中
的一款依赖关系检查工具程序(Utility software)。make的应用非常广泛,它被用来构建 C、C++ 、Pascal Fortran 等项目,自动化构建生成可执行文件...
WinAPI (
Delphi
版)
Creating Windows CreateMDIWindow CreateWindow CreateWindowEx RegisterClass RegisterClassEx UnregisterClass Message Processing BroadcastSystemMessage CallNextHookEx CallWindowProc DefFrameProc DefMDIChildProc DefWindowProc DispatchMessage GetMessage GetMessageExtraInfo GetMessagePos GetMessageTime GetQueueStatus InSendMessage PeekMessage PostMessage PostQuitMessage PostThreadMessage RegisterWindowMessage ReplyMessage SendMessage SendMessageCallback SendMessageTimeout SendNotifyMessage SetMessageExtraInfo SetWindowsHookEx TranslateMessage UnhookWindowsHookEx WaitMessage Window Information AnyPopup ChildWindowFromPoint ChildWindowFromPointEx EnableWindow EnumChildWindows EnumPropsEx EnumThreadWindows EnumWindows FindWindow FindWindowEx GetClassInfoEx GetClassLong GetClassName GetClientRect GetDesktopWindow GetFocus GetForegroundWindow GetNextWindow GetParent GetProp GetTopWindow GetWindow GetWindowLong GetWindowRect GetWindowText GetWindowTextLength IsChild IsIconic IsWindow IsWindowEnabled IsWindowUnicode IsWindowVisible IsZoomed RemoveProp SetActiveWindow SetClassLong SetFocus SetForegroundWindow SetParent SetProp SetWindowLong SetWindowText WindowFromPoint Processes and Threads CreateEvent CreateMutex CreateProcess CreateSemaphore CreateThread DeleteCriticalSection DuplicateHandle EnterCriticalSection ExitProcess ExitThread GetCurrentProcess GetCurrentProcessId GetCurrentThread GetCurrentThreadId GetExitCodeProcess GetExitCodeThread GetPriorityClass GetThreadPriority GetWindowThreadProcessId InitializeCriticalSection InterlockedDecrement InterlockedExchange InterlockedIncrement LeaveCriticalSection OpenEvent OpenMutex OpenProcess OpenSemaphore PulseEvent ReleaseMutex ReleaseSemaphore ResetEvent ResumeThread SetEvent SetPr
Dede(反汇编
Delphi
)
将
Delphi
编译的Exe反汇编成
Delphi
源程序,效果还不错,dfm可以弄出来,不过 Pas里还是ASM,对于研究破解还是很有用的 What is DeDe? ------------- DeDe is a very fast program that can analize executables compiled with
Delphi
3,4,5 and give you the following: - All dfm files of the
target
. You will be able to open and edit them with
Delphi
- All published methods in well commented ASM code with references to strings, imported function calls, classes methods calls, components in the unit, Try-Except and Try-Finally blocks. By default DeDe retreives only the published methods sources, but you may also process another procedure in a executable if you know the RVA offset using the Tools|Disassemble Proc menu - A lot of additional information. - You can create a
Delphi
project folder with all dfm, pas, dpr files. Note: pas files contains the mentioned above well commented ASM code. They can not be recompiled ! You can also: - View the PE Header of all PE Files and change/edit the sections flags - Spy a program for WinAPI calls with the API Spy tool - Use the opcode-to-asm tool for translating intel opcode to assembler - Use RVA-to-PhysOffset tool for fast converting physical and RVA addresses - Use the DCU Dumper (view dcu2int.txt for more details) to retreive near to pascal code of your DCU files - Use BPL Dumper to see BPL exports and create symbol files to use with DeDe Disassembler
Windows SDK/API
1,183
社区成员
22,335
社区内容
发帖
与我相关
我的任务
Windows SDK/API
Delphi Windows SDK/API
复制链接
扫一扫
分享
社区描述
Delphi Windows SDK/API
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章