摘要:
消息Hook hook Focus 事件时遇到的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061115102712231.html 我想实现一个功能: 安装一个全局消息HOOK,捕获桌面上任意输入框的获得焦点和失去焦点的事件,为了便于测试我先写了一个线程hook做测试,hoo... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(500)
评论(1)
推荐(0)
摘要:
RAS谁用过 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061115103312230.html 我看windows sdk中有RasEnumEntries的说明,怎么调用,需要引用那个单元? 拨号连接的枚举哈。想用吗?我可以提供一些帮助 好多年以前做了一个多点远程库房管理,当时还没有... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(186)
评论(0)
推荐(0)
摘要:
我在delphi中用shellExecute启动了一个程序(ftp);然后想做一个等待,只到ftp进程结束,再继续下面的操作,请问如何监控这个进程是否已结束? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061115114909229.html 如题,例如: ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(321)
评论(0)
推荐(0)
摘要:
SendMessage到浏览器焦点输入框没有作用? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061115123755228.html 使用SendMessage(GetFocus,WM_SETTEXT,0,longint(PChar('123456'))); 当前焦点是浏览器的一... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(455)
评论(0)
推荐(0)
摘要:
创建共享目录权限问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061115131918227.html 我想通过代码实现设置一个文件夹为共享目录,然后怎么用代码写共享目录权限呢,例如完全控制,只读,修改等,希望能给我一个完整的代码小例子,谢谢各位老大 api, 注册表 ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(618)
评论(0)
推荐(0)
摘要:
如何反查.DLL的函数?谢谢。。。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061115213413226.html 如题。扣谢。 1.用depends.exe工具来查 2.如果要自己写程序的话,那就从dll的pe头,分析导出表 有很多工具,ExeScope,Dum... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(142)
评论(0)
推荐(0)
摘要:
ActiveForm 中显示模式窗口,当切换为其它应用程序,再切回来后应用程序不能获得焦点,模式窗口到应用程序的后面了,怎么办 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112180622250.html ActiveForm 中显示模式窗口,当切换为其它应用程序,再切回来后应用程... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(434)
评论(0)
推荐(0)
摘要:
没有窗体怎么使用定时器呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112185601249.html 做那中简单的程序的时候(不是控制台程序),想要使用API函数SetTimer来设置定时器,请问应该怎么写代码呢,关键是那个HWND应该是什么呢,我没有窗体怎么设置 简单的方法,就... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(235)
评论(0)
推荐(0)
摘要:
请教自定义程序运行的权限的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112215003248.html 老板让我做一个程序,要求程序自动在系统启动时运行,而且不管当前登录的用户是否有管理员权限,程序都是以administrators的权限运行(目的是为了完全对注册表和系统目录、文... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(154)
评论(0)
推荐(0)
摘要:
delphi写的一个dll,在接口中如何接受外部程序送给他的一个数据集! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112220726247.html delphi写的一个dll,在接口中如何接受外部程序送给他的一个数据集! 比如,我在VB中写了一个数据集 a... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(300)
评论(0)
推荐(0)
摘要:
如何模拟鼠标的拖拽行为. Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112235944246.html 我想用鼠标模拟拖拽某一表格的列行为,就是把第一列拖到第五列寻样. 计算好目标窗口的坐标,然后把该窗口置为前台,再用类似下面这样的代码试试: mouse_event(MOU... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(809)
评论(0)
推荐(0)
摘要:
困惑:如何调用另一个程序,并控制它 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061113000418245.html 我现在想调用B(也是delphi)程序,我用的是 procedure TForm1.Button1Click(Sender: TObject); ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(391)
评论(0)
推荐(0)
摘要:
控制外部软件的启动及运行,如何将它的闪现窗体也隐藏呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114145807238.html 需要控制的外部软件的运行情况我了如指掌,所以可以用postmessage的办法全面控制它的运行,也可以用showwindow的show_hide隐藏它的... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(166)
评论(0)
推荐(0)
摘要:
如何获取每个进程的I/0的读写字节数???? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114150952237.html 1、进程的I/O字节数用什么可得到呢?晕。。。。。 2、98下用GETPROCESSTIMES而想得到进程使用率,为何就不行呢? 从WMI获取。想要什... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(172)
评论(0)
推荐(0)
摘要:
WM_DROPFILES消息怎么用?一个界面上怎么让多个组件同时支持windows外部文件拖拽。DragAcceptFiles。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114152826236.html unit Unit1; interface uses ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(984)
评论(0)
推荐(0)
摘要:
关于汉字生成拼音的的函数 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114182415235.html 怎么把一个调用一个函数就能把一个汉字生成拼音 比如输入"青霉素"生成"qms" 知道的请告诉我一下,谢了! 来自超级猛料的函数: ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(305)
评论(0)
推荐(0)
摘要:
多线程访问数据库的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061113111452244.html 有个程序 运行大概五天左右的时间 就报Access violation at address 00D24081 in module 'b... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(299)
评论(0)
推荐(0)
摘要:
多个资源文件释放的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061113192259243.html 已经做好了一个资源文件,里面包含有若干二进制文件,我有TResourceStream来实现资源的释放,问题就在这里,我现在用的格式是 if... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(213)
评论(0)
推荐(0)
摘要:
关于汉字生成拼音的的函数 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114182436234.html 怎么把一个调用一个函数就能把一个汉字生成拼音 比如输入"青霉素"生成"qms" 知道的请告诉我一下,谢了! 来自超级猛料的函数: ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(215)
评论(0)
推荐(0)
摘要:
如何用findwindowex遍历某个窗口里的所有子窗口? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061115233321224.html 如何用findwindowex遍历某个窗口里的所有子窗口? 用EnumWindows 同意老之,枚举窗口 这么晚还没睡?楼上... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(3232)
评论(0)
推荐(0)
摘要:
运行两个或多个实例 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116093635223.html 如何避免一个程序同时运行两个或多个实例? 参考:http://www.zahui.com/html/2/5251.htm 使用互斥对象让程序只运行一次 “... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(225)
评论(0)
推荐(0)
摘要:
用DELPHI代码的方式清理cookies,如何实现,比较急,高分送出。分不够,再给加,顶者有分 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116105108222.html 用DELPHI代码的方式清理cookies,如何实现,比较急,高分送出。分不够,再给加,顶者有分 原理: ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(127)
评论(0)
推荐(0)
摘要:
后台服务怎样与前台交互? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116113741221.html ShellWindow: IShellWindows; ShellWindow := CoShellWindows.Create; ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(321)
评论(0)
推荐(0)
摘要:
如何结束另一个程序的进程? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116114828220.html 请问如何用Delphi程序结束另一个程序的进程?(请注意:是结束进程,而不仅仅是关闭程序) SEND一个WM_CLOSE或WM_DESTROY消息到此进程去 或者用Te... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(421)
评论(0)
推荐(0)
摘要:
getwindowrect不能正确使用,请指教 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116121147219.html ha:hwnd; i:integer; begin ha:=findwindow(nil,pchar(ex... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(250)
评论(0)
推荐(0)
摘要:
亲爱的大家:哪里有关于D7调用WINDOWS视频API的资料?谢谢 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116150753218.html 如题。 windows api 本身就没有视频的吧 但是,我看了别人的例程,调用的是 'AVICAP32.dll'; ... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(103)
评论(0)
推荐(0)
摘要:
如何另存WORD里的图片到本地为GIF格式? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116170428217.html 目的是想用于电子签名,把图片里的信息取出来。 把图片COPY到图片处理软件,再另存 我是说用程序实现:WORD中选中图片,实现另存为 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(327)
评论(0)
推荐(0)
摘要:
请教大家:如何把.DCU文件反编译回源代码?谢谢。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116174815216.html 如题。扣谢。 一定结贴。 我也想知道有没办法`~~顶一顶~~` .DCU没有办法反编译成源代码的。 是不可能的,要不然,delphi的好多控件和... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(338)
评论(0)
推荐(0)
摘要:
如何调用保存在 TMemoryStream 中的DLL? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116221822215.html 不要保存到磁盘上。 解决送 300分。 没有必要自己写,直接写好程序后用pebundle加壳成一个应用程序即可,比你自己写... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(228)
评论(0)
推荐(0)
摘要:
请问如何获得这个键值? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061117005510214.html 我想在这个键下面通过程序设置Windows的自动更新,但不知道怎么取得“{C611B475-175A-4114-9ABD-F37B85A06F22}”这个值,好象这个值每个用户下都不一... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(197)
评论(0)
推荐(0)
浙公网安备 33010602011771号