上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 37 下一页
  2009年2月3日
摘要: 没有窗体怎么使用定时器呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112185601249.html 做那中简单的程序的时候(不是控制台程序),想要使用API函数SetTimer来设置定时器,请问应该怎么写代码呢,关键是那个HWND应该是什么呢,我没有窗体怎么设置 简单的方法,就... 阅读全文
posted @ 2009-02-03 09:47 delphi2007 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 请教自定义程序运行的权限的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112215003248.html 老板让我做一个程序,要求程序自动在系统启动时运行,而且不管当前登录的用户是否有管理员权限,程序都是以administrators的权限运行(目的是为了完全对注册表和系统目录、文... 阅读全文
posted @ 2009-02-03 09:47 delphi2007 阅读(148) 评论(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 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 如何模拟鼠标的拖拽行为. Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112235944246.html 我想用鼠标模拟拖拽某一表格的列行为,就是把第一列拖到第五列寻样. 计算好目标窗口的坐标,然后把该窗口置为前台,再用类似下面这样的代码试试: mouse_event(MOU... 阅读全文
posted @ 2009-02-03 09:47 delphi2007 阅读(790) 评论(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 阅读(377) 评论(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 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 多个资源文件释放的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061113192259243.html 已经做好了一个资源文件,里面包含有若干二进制文件,我有TResourceStream来实现资源的释放,问题就在这里,我现在用的格式是 if... 阅读全文
posted @ 2009-02-03 09:47 delphi2007 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 如何用findwindowex遍历某个窗口里的所有子窗口? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061115233321224.html 如何用findwindowex遍历某个窗口里的所有子窗口? 用EnumWindows 同意老之,枚举窗口 这么晚还没睡?楼上... 阅读全文
posted @ 2009-02-03 09:47 delphi2007 阅读(3188) 评论(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 阅读(207) 评论(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 阅读(121) 评论(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 阅读(317) 评论(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 阅读(142) 评论(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 阅读(204) 评论(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 阅读(253) 评论(0) 推荐(0) 编辑
摘要: windows.setparent可以将一个窗口显示到别的位置上,可是如果我只是想将这个窗口上的内容复制一份并显示在别的位置,该如何做呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114145117239.html 万分感谢回答的朋友! 阅读全文
posted @ 2009-02-03 09:47 delphi2007 阅读(698) 评论(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 阅读(152) 评论(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 阅读(164) 评论(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 阅读(977) 评论(0) 推荐(0) 编辑
摘要: 关于汉字生成拼音的的函数 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114182415235.html 怎么把一个调用一个函数就能把一个汉字生成拼音 比如输入"青霉素"生成"qms" 知道的请告诉我一下,谢了! 来自超级猛料的函数: ... 阅读全文
posted @ 2009-02-03 09:47 delphi2007 阅读(292) 评论(0) 推荐(0) 编辑
摘要: PostMessage的疑问? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114212346233.html 以前已经知道使用消息函数PostMessage或SendMessage就可以给别的程序发消息,觉得很容易。 像“按键精灵”此类软件,也应该是使用发消息,模... 阅读全文
posted @ 2009-02-03 09:47 delphi2007 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 关于WinExec的问题? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061114224727232.html 下面为A程序调用B程序,弹出B的登陆界面,自动填入用户名密码来自动登陆B procedure TForm1.Image1Click(Sender: T... 阅读全文
posted @ 2009-02-03 09:47 delphi2007 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 消息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 阅读(488) 评论(1) 推荐(0) 编辑
摘要: Delphi调用VC编译的DLL Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061115223555225.html 尝试用Delphi调用VC编译的DLL,DLL接口函数中定义一般类型的参数时,可以正常调用,但是当在接口函数中定义回调函数时,在Delphi中将函数指针传入接口函数时总是报错... 阅读全文
posted @ 2009-02-03 09:47 delphi2007 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 请教大家:如何把.DCU文件反编译回源代码?谢谢。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061116174815216.html 如题。扣谢。 一定结贴。 我也想知道有没办法`~~顶一顶~~` .DCU没有办法反编译成源代码的。 是不可能的,要不然,delphi的好多控件和... 阅读全文
posted @ 2009-02-03 09:44 delphi2007 阅读(317) 评论(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 阅读(221) 评论(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 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 如何得到所有可视化窗口的句柄? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061117103732213.html 我想得到已经运行的所有有窗口的应用程序的窗口句柄,不知道有什么好办法,大家帮帮忙。。 用FINDWINDOW。。。遍历查找。。 遍历窗口用EnumWindows,然后用IsW... 阅读全文
posted @ 2009-02-03 09:44 delphi2007 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 实现截屏区域选择框。。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061117112055212.html 我想得到一个区域选择框,用来截屏区域选择的,中间使被挖空的,大小可以改变,研究了一下,感觉是在一个Form的基础上实现的,试了很久,就是不知道具体怎么搞的。大家帮帮忙。。。 啥功能?... 阅读全文
posted @ 2009-02-03 09:44 delphi2007 阅读(228) 评论(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 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 怎么进入特殊的目录????????急,十分棘手啊! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061117121732210.html 我在DOS下建立了名为 s. 的文件夹(注意目录名带点) 无法通过正常途径对其进行访问!!! 问,要怎样才可以进如此目录呢???... 阅读全文
posted @ 2009-02-03 09:44 delphi2007 阅读(129) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 37 下一页