2008年10月14日
摘要: 新手+菜鸟,请教关于取当天日期的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220153528104.html 我想让DateTimePicker.Date的值等于当天的日期 我的写法如下: DateTimePicker.D... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 两个字节,如果写入一个大于65535的数? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220165725103.html 正常情况下FFFF为65535,如何突破呢? 突破不了了,想办法改成四个字节吧 有没有什么压缩算法?或高招,大家帮我想想.今晚就散分. 觉得已没有可能了。除非这... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(928) 评论(0) 推荐(0) 编辑
摘要: 这算是listview的bug吗? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220171729102.html 我想把listview里选中的一行纪录的某个字段保存到edit里,代码如下: edit1.text:=listview1.Selected.SubI... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 低版本写的程序迁移到高版本??? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220174703101.html 如d5 -> d7 1.怎么迁移? 2.有迁移向导么? 3.做哪些准备或改动? 4.注意事项? 这个有点难... ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(263) 评论(0) 推荐(0) 编辑
  2008年9月23日
摘要: Delphi可以写USB驱动程序吗? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061129092535150.html Delphi可以写USB设备的驱动吗, 需要哪些东西写, Delphi写驱动只能通过DDDK(Delphi NT DDK), 由... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(631) 评论(0) 推荐(0) 编辑
摘要: 日志钩子能分辨不同编辑控件中输入的字符吗? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061129112134149.html 我想把不同控件输入的字符分别记录,日志钩子的参数中是否包含了不同控件的相关信息(如句柄)? 如果日志钩子不能实现这个功能,那如何才能达到上述目的? 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 关于CreateOleObject函数的调用问题(用友U86登陆界面调用) Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061129223145148.html 我用CreateOleObject调用COM控件,跟踪发现他在使用该函数时没有问题,当调用里面的函数时,第一次调试调用成功,再运行一... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 好久没有来了,各位如何像迅雷那样定位并且浏览指定下载文件,谢了 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061130124136147.html 好久没有来了,各位如何像迅雷那样定位并且浏览指定的下载文件,谢了 猴子 性欲不高 不行啊`每人会回答的哦~~ 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 关于delphi如何调用用c写的*.h文件 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061130134905146.html 小弟刚刚学习delphi,刚刚接触到一个问题,就是要用delphi去调用开发环境中库里面的API函数(用C写的),请问如何将*.h引入到delphi中去,求各位大侠... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(582) 评论(0) 推荐(0) 编辑
摘要: C语言中“char * params[]”的参数在delphi中该如何定义?100分求解决放过。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061130165801145.html VC写的动态库 一个参数定义成 “char * params[]”delphi中该如何定义?... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(386) 评论(0) 推荐(0) 编辑
摘要: delphi7中如何修改注册表键值 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061130225610144.html delphi7中如何修改注册表键值啊? 详细点 最好有实例 procedure TClientMainForm.SaveUserSet... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 怎样翻译这段C代码 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061201065700143.html 调用Dll文件中的一个函数 int ret; char * host_list[3] = {"192.168.0.2", "192.168.... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(121) 评论(0) 推荐(0) 编辑
摘要: delphi 所有程序运行调试都出现cpu窗口,急! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061201095127142.html 就连delphi新建的一个工程不加任何东西也是出现cpu调试窗口 而且每次都是停在 013c264b 03eb add e... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 如何得到dcu文件 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061201104620141.html 我有一个aa.pas和一个aa.dfm,我如何通过这两个东西得到aa.dcu文件 Add到一个工程里 编译 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 进程通迅,共享内存中对象的引用? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061201104623140.html type PShared=^TShared; ... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 如何查找IE浏览器上所有的flash和图片文件的 路径?如 迅雷 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061201161011139.html 如题!!!用 findwindowEx 好像不行啊 你要查路径还是窗口啊? 查路径的话,先把那个网页保存在st... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 谁知道 按键精灵 如何给其他程序发送按键? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061201170149138.html 想给一个游戏窗口发送按键K; 用了PostMessage,keybd_event;都不行,但是用按键精灵却可以, 哪位高手来指点下啊!!! ... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 初学delphi请问一个简单得问题 望解答 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061201194317137.html program Project1; uses Unit1 in 'Unit1.pas'; var ... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 剪切板 延迟问题的解决 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061201210157136.html 代码如下: '''发送 TAB Call keybd_event(vbKeyTab, 0,... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 编写批处理文件时传入多个参数的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061201225247135.html 我的程序需要调用一个dos程序mydos.exe,该程序在运行结束时需要输入参数,并且是两个,我现在的做法是:先编写一个文本文件mytext.txt,把需要输入的参数记录在... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 如果在IDE中增加一项自己的菜单,求一实例 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061202014927134.html 如果在IDE中增加一项自己的菜单,然后点击该菜单又弹出自己定义的某个窗口!! 给个实例吧,谢谢!! 用ToolsAPI uses ToolsAPI;... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 请问各位如何用Delphi控制U盘的安全拔出????已经有源代码,但是不知道如何控制指定的U盘 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061202105306133.html 请问各位如何用Delphi控制U盘的安全拔出????已经有源代码,但是不知道如何控制指定的U盘 const ... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(531) 评论(0) 推荐(0) 编辑
摘要: 求一類似 GetFileVersionInfo 的函數,返回Exe文件開發的公司名稱 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061202120619132.html 如題: 一個Exe文件一般除了版本信息外還有其它的信息。請教其它信息怎麼獲得。 比如 產品名稱,公... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 不用钩子 截获系统消息! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061202122312131.html 有办法? 没有~ 特定消息. --> windows dll-->修改该 dll mark 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 请问各位如何用Delphi控制U盘的安全拔出????已经有源代码,但是不知道如何控制指定的U盘 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061202153021130.html 请问各位如何用Delphi控制U盘的安全拔出????已经有源代码,但是不知道如何控制指定的U盘 那个帖看见了,... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 拆分汉字字符串 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061202180701129.html 比如有一字符串 s:=‘真的好喜欢你’; 现在要把他分成 array f[0]:=‘真’; f... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 求一些api 谢谢 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061202201055128.html 1、一个4位10进制的数组,转换为16位2进制后存储至另一数组 2、转完后,将该数组以及它的反码赋值给一个32位2进制数组 3、延迟5ms ... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 新手急求多线程解决方案。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061203032448127.html 我刚接触 多线程编程,现在急着要处理一个任务。不得已拿这样初级问题询问各位大虾解决方案,还请不吝赐教,谢谢你们拉。^-^! 从数据库1表A中取出所有数据循环... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(149) 评论(0) 推荐(0) 编辑
摘要: SetWindowHookEx不能HOOK命令行(cmd.exe) Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061203132155126.html 最近写了个API HOOK的小软件 利用SetWindowHookEx 实现对所有进程的HOOK 但是发现 ... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 获得internet 时间的问题? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061204151729125.html 在网上下载的源码都提示找不到控件. 能给个最简单的吗? 还有说明一下控件在要哪儿添加.和使用方法. 给分自己行吗??? 结帖了。... 阅读全文
posted @ 2008-09-23 09:32 delphi2007 阅读(249) 评论(0) 推荐(0) 编辑