上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 37 下一页
  2009年4月8日
摘要: 关于playsound()的问题,在线等 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107145536288.html uses MMSystem; sndPlaysound(PChar('alarm.wav'),SND_LOOP); 怎么声音不循环播放呢?奇怪... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(264) 评论(0) 推荐(0)
摘要: 多线程的sleep和suspend问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107160754287.html procedure TAthread.Execute; begin while not Terminate... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(478) 评论(0) 推荐(0)
摘要: 如何關閉正在運行的特定的程式?急! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107161535286.html 如何關閉正在運行的特定的程式?急!, 小弟謝謝先! 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(182) 评论(0) 推荐(0)
摘要: findfirst findnext 递归查找指定目录下所有子目录下所有文件,为什么总是死机? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061110231617254.html procedure TForm1.FindAll(const Path: String); ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(512) 评论(0) 推荐(0)
摘要: 请问怎么获得当前连接到网上邻居的用户名啊?怎样完全断开所有网上邻居的连接? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061111102009253.html 情况是这样的,我在服务器(WINDOWS2003)上开了共享,需要账号和密码客户机(WINDOWSXP)才能访问的,因为每次连接上网... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(824) 评论(1) 推荐(0)
摘要: HOOK 超级问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061111145304252.html 求一个最简单的键盘HOOK例子; 谢谢各位大爷了! http://community.csdn.net/Expert/topic/5066/5066823.xml?tem... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(281) 评论(0) 推荐(0)
摘要: 如何向其他程序中的toolbar中ToolButton发送点击按钮??? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061112160354251.html 可以找到toolbar的句柄, 在Toolbar中的按扭也没有句柄, ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(675) 评论(0) 推荐(0)
摘要: 串口打印问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108153021275.html 串口打印,发什么命令可以改变字体大小 如果帮我解决200分相送。 Printer.Canvas.Font.Size:=? 我的问题是,直接通过串口写 指令... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(169) 评论(0) 推荐(0)
摘要: 怎么样才可以使得窗体中的控件随窗体变化而变化 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108163345274.html 怎么样才可以使得窗体中的控件随窗体变化而变化 设置Align和Anchors属性 在窗体的OnResize事件里重新设置一个目标控件的Left、Top、Widt... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(283) 评论(0) 推荐(0)
摘要: 时间问题datetimetostr Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108174624273.html datetimetostr(日期) 转换后的函数为2006-11-08 下午 03:02:06 我想要的格式为2006-11-08 15:0... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(396) 评论(0) 推荐(0)
摘要: 请教如何用delphi程序在windows2003中创建系统帐户 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061109094404272.html 同时定义其所在的组。 最好能用delphi 5.0版本实现。 谢谢! 看看这样可以吗 http... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(237) 评论(0) 推荐(0)
摘要: Hook或者API高手请进-跨进程获取其他程序的DBGrid内容(其它人做的程序) Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061109101554271.html 假设有一个程序A是一个信息管理系统,它的界面上有一个DBGrid;我想写一个程序B来取A程序界面上的DBGrid数据或者Da... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(435) 评论(0) 推荐(0)
摘要: 代码错误? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061109111030270.html 我的程序用到了键盘钩子,并且有个句柄的变量,下面的代码老出错, procedure TForm1.FormDestroy(Sender: TObject); begin... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(212) 评论(0) 推荐(0)
摘要: delphi怎么调用DLL函数(C语言) Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061109111537269.html 函数原型(C): 函数定义: long GetBasicInfo_Block(LPARAM pReserved,struct Log_... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(562) 评论(0) 推荐(0)
摘要: 如何让程序占用空间达到最小(如果可以的话能把方法都列出来吗?) Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061109112042268.html 如果我只需要一个很简单的功能,只需要使用一句代码如: windows.beep(3100,10);//使扬声器D一声。 ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(238) 评论(0) 推荐(0)
摘要: 如何只用API来编写程序? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061109123707267.html 尝试了一下,但是运行后没有窗口显示,请高手赐教 program API; uses Windows,Messages; ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(278) 评论(0) 推荐(0)
摘要: 为什么我的windows Service程序启动的另一程序不显示呢 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061109155837266.html 我做了一简单service程序(ErrorServerity项设置为:esSevere),用它来启动另一程序,本来启动另一程序是可以让该程序... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(228) 评论(0) 推荐(0)
摘要: 提问,如何取得当前登陆用户的登陆名 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061109161856265.html 例如 用户名为张三,密码:12345 登陆到office域。 怎么读取出张三这个信息。 密码是读不出来的 我只读用户名就好 GetUserName 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(258) 评论(0) 推荐(0)
摘要: 问临界区TCriticalSection 与 TRtlCriticalSection 的区别 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061109170721264.html 如题 大家在用TCriticalSection 的 enter方法时有没有出过什么问题 我喜欢用AP... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(903) 评论(0) 推荐(0)
摘要: 如何强制关闭串口? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061110085745262.html 系统其他程序占用的串口,我的程序怎么去强制关闭? 谢谢 用api: closefile closehandle 怎么使用,能不能给个详细点的例子? ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(1032) 评论(0) 推荐(0)
摘要: 如何在delphi的程序中获取桌面刷新的消息 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106105900297.html 我想在windows的桌面刷新后执行一些内容,如何作? hook 消息。。 能说得详细一些么? 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(303) 评论(0) 推荐(0)
摘要: 关于openkey的问题,请大家帮看看! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106111720296.html 我写了一段贷码目的是禁用u盘.如下. var reg:tregistry; begin reg.rootkey:=HKEY_L... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(244) 评论(0) 推荐(0)
摘要: 关于动态加载dll问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106114545295.html 现在有一个dll文件,需动态加载,看了很多资料,但是还是不太清楚 1.动态加载时,是不是须在oncreate事件中LoadLibrary进行判断 2.dll在何时进... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(169) 评论(0) 推荐(0)
摘要: 这个不对了,找不到控件 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107194340283.html 在窗体中放了一个edit 和一个按钮。 用file-new-other里的thread object 创建了一个新线程类(Tmy)。 里面写了这句代码:... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(258) 评论(0) 推荐(0)
摘要: 如何不通这注册表取双网卡所对应的子网? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108110332282.html 如题 谢谢 ipconfig -all api要查下.... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(152) 评论(0) 推荐(0)
摘要: 知道窗口句柄如何知道文件名? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108114249281.html 知道窗口句柄,怎么得到该程序的文件名??? 先通过GetWindowThreadProcessId取得窗口所属进程的PID,再通过枚举系统进程,得到该进程的文件名。枚举进程可以... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(242) 评论(0) 推荐(0)
摘要: 关于判断文件唯一性,怎么提取特征码 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108132642280.html 困惑,用什么来判断文件的唯一性,用findwindow判断程序,误报可能太大,有哪位大大能提供delphi的判断文件的特征码的好例子,麻烦写出来,指点一二。分不多,因为不会... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(472) 评论(0) 推荐(0)
摘要: 用createprocess执行word,需要为外部程序指定一个叁数'd:\aaa.doc',如果这个文档是stringlist中的某一项,那么该如何写呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106182559294.html var x:integer; ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(120) 评论(0) 推荐(0)
摘要: 关于调用windows内核问题×××××××××××× Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106205556293.html 上网看过一些windows内核调用的文章 我想用rundll32 user,wnetconnectdialog打开"映射网络驱动器"窗口 ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(135) 评论(0) 推荐(0)
摘要: 如何快速的从几千个文件中删除你想要删除的文件??关键是算法!! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106211720292.html 如何快速的从几千个文件中删除你想要删除的文件?这些文件是我按照时间记录的,比如:20061106101010.txt,2006110612121... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(156) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 37 下一页