摘要:
消息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
阅读(503)
评论(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
阅读(187)
评论(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
阅读(322)
评论(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
阅读(458)
评论(0)
推荐(0)
摘要:
创建共享目录权限问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061115131918227.html 我想通过代码实现设置一个文件夹为共享目录,然后怎么用代码写共享目录权限呢,例如完全控制,只读,修改等,希望能给我一个完整的代码小例子,谢谢各位老大 api, 注册表 ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(620)
评论(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
阅读(143)
评论(0)
推荐(0)
摘要:
ActiveForm 中显示模式窗口,当切换为其它应用程序,再切回来后应用程序不能获得焦点,模式窗口到应用程序的后面了,怎么办 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112180622250.html ActiveForm 中显示模式窗口,当切换为其它应用程序,再切回来后应用程... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(438)
评论(0)
推荐(0)
摘要:
没有窗体怎么使用定时器呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112185601249.html 做那中简单的程序的时候(不是控制台程序),想要使用API函数SetTimer来设置定时器,请问应该怎么写代码呢,关键是那个HWND应该是什么呢,我没有窗体怎么设置 简单的方法,就... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(238)
评论(0)
推荐(0)
摘要:
请教自定义程序运行的权限的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112215003248.html 老板让我做一个程序,要求程序自动在系统启动时运行,而且不管当前登录的用户是否有管理员权限,程序都是以administrators的权限运行(目的是为了完全对注册表和系统目录、文... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(155)
评论(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
阅读(301)
评论(0)
推荐(0)
摘要:
如何模拟鼠标的拖拽行为. Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112235944246.html 我想用鼠标模拟拖拽某一表格的列行为,就是把第一列拖到第五列寻样. 计算好目标窗口的坐标,然后把该窗口置为前台,再用类似下面这样的代码试试: mouse_event(MOU... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(812)
评论(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
阅读(392)
评论(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
阅读(301)
评论(0)
推荐(0)
摘要:
多个资源文件释放的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061113192259243.html 已经做好了一个资源文件,里面包含有若干二进制文件,我有TResourceStream来实现资源的释放,问题就在这里,我现在用的格式是 if... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(214)
评论(0)
推荐(0)
摘要:
MID DlL窗体与Application.Messagebox 结合后控件失效??? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114101124242.html 现在若干窗体,封装成DLL窗体(MDI子窗体). 现发现一个大问题: 如果MDI子窗体上有表格控... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(161)
评论(0)
推荐(0)
摘要:
如何把一个bin文件捆绑到一个可执行文件exe中? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114120737241.html 如何把一个bin文件捆绑到一个可执行文件exe中?而且可以读bin文件里的内容进行处理?请教各位大侠了,谢谢! 利用资源文件就可以 对,用resource... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(223)
评论(0)
推荐(0)
摘要:
经试验createprocess+sw_hide不能隐藏那些经过修改的绿色软件,有没有办法可以将绿软也隐藏呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114144853240.html 试验了多个软件,都不能隐藏,只好在运行过后再用showwindow(h,sw_hide)再隐藏一... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(261)
评论(0)
推荐(0)
摘要:
windows.setparent可以将一个窗口显示到别的位置上,可是如果我只是想将这个窗口上的内容复制一份并显示在别的位置,该如何做呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114145117239.html 万分感谢回答的朋友! 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(707)
评论(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
阅读(169)
评论(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
阅读(175)
评论(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
阅读(986)
评论(0)
推荐(0)
摘要:
关于汉字生成拼音的的函数 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114182415235.html 怎么把一个调用一个函数就能把一个汉字生成拼音 比如输入"青霉素"生成"qms" 知道的请告诉我一下,谢了! 来自超级猛料的函数: ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(306)
评论(0)
推荐(0)
摘要:
关于汉字生成拼音的的函数 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114182436234.html 怎么把一个调用一个函数就能把一个汉字生成拼音 比如输入"青霉素"生成"qms" 知道的请告诉我一下,谢了! 来自超级猛料的函数: ... 阅读全文
posted @ 2009-02-03 09:47
delphi2007
阅读(216)
评论(0)
推荐(0)
摘要:
请教大家:如何把.DCU文件反编译回源代码?谢谢。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116174815216.html 如题。扣谢。 一定结贴。 我也想知道有没办法`~~顶一顶~~` .DCU没有办法反编译成源代码的。 是不可能的,要不然,delphi的好多控件和... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(341)
评论(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
阅读(229)
评论(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
阅读(198)
评论(0)
推荐(0)
摘要:
这个就是我的主程序(问题在我今天发的第一个帖子中) Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061117132223208.html Hook.dll代码在我今天发的第一个帖子中 unit Unit1; interface ... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(135)
评论(0)
推荐(0)
摘要:
如何得到所有可视化窗口的句柄? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061117103732213.html 我想得到已经运行的所有有窗口的应用程序的窗口句柄,不知道有什么好办法,大家帮帮忙。。 用FINDWINDOW。。。遍历查找。。 遍历窗口用EnumWindows,然后用IsW... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(182)
评论(0)
推荐(0)
摘要:
实现截屏区域选择框。。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061117112055212.html 我想得到一个区域选择框,用来截屏区域选择的,中间使被挖空的,大小可以改变,研究了一下,感觉是在一个Form的基础上实现的,试了很久,就是不知道具体怎么搞的。大家帮帮忙。。。 啥功能?... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(243)
评论(0)
推荐(0)
摘要:
怎么获取Windows服务程序的路径? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061117121414211.html 在EXE的应用程序中我们可以用Application.ExeName来获取应用程序自身的文件名,那么在Windows服务中怎么获取Windows服务程序的路径? 用G... 阅读全文
posted @ 2009-02-03 09:44
delphi2007
阅读(342)
评论(0)
推荐(0)
浙公网安备 33010602011771号