摘要:
串口打印问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108153021275.html 串口打印,发什么命令可以改变字体大小 如果帮我解决200分相送。 Printer.Canvas.Font.Size:=? 我的问题是,直接通过串口写 指令... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(167)
评论(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
阅读(395)
评论(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
阅读(234)
评论(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
阅读(434)
评论(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
阅读(206)
评论(0)
推荐(0)
摘要:
开机先出先自己的程序界面,输入用户名和口令后再进入windows Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106222842291.html 我想实现这样一个功能,开机先出先自己的程序界面,输入用户名和口令后再进入windows(winxp或者win2000),有点类似网吧里面的登陆... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(252)
评论(0)
推荐(0)
摘要:
关于文件复制与删除的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107120249290.html 想编个程序,把机器上所有的文件名为A.EXE的文件删除,再把文件B.EXE从机器的X文件夹下拷贝到机器上所有名称为Y的文件夹下,请问如何编写程序? FindFirst() ... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(233)
评论(0)
推荐(0)
摘要:
delphi有几种方法创建子线程 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107143711289.html delphi有几种方法创建子线程 createthead 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(389)
评论(0)
推荐(0)
摘要:
关于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
阅读(263)
评论(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
阅读(472)
评论(0)
推荐(0)
摘要:
如何關閉正在運行的特定的程式?急! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107161535286.html 如何關閉正在運行的特定的程式?急!, 小弟謝謝先! 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(179)
评论(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
阅读(510)
评论(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
阅读(279)
评论(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
阅读(673)
评论(0)
推荐(0)
摘要:
waitforsingleobject的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107162800285.html 我在主线程中用了waitforsingleobject,可以用吗,如果可以的话,在线程中调用这个函数的的话还用不用Synchronize函数啊 1.主线程等待子... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(222)
评论(0)
推荐(0)
摘要:
为什么WaitForMultipleObjects返回后,对应的handle仍处于激发状态? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107172543284.html 我写了个用WaitForMultipleObjects同步线程的例子,窗体上有三个memo,有一个mutex数组变... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(425)
评论(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
阅读(257)
评论(0)
推荐(0)
摘要:
如何不通这注册表取双网卡所对应的子网? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108110332282.html 如题 谢谢 ipconfig -all api要查下.... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(150)
评论(0)
推荐(0)
摘要:
知道窗口句柄如何知道文件名? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108114249281.html 知道窗口句柄,怎么得到该程序的文件名??? 先通过GetWindowThreadProcessId取得窗口所属进程的PID,再通过枚举系统进程,得到该进程的文件名。枚举进程可以... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(236)
评论(0)
推荐(0)
摘要:
关于判断文件唯一性,怎么提取特征码 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108132642280.html 困惑,用什么来判断文件的唯一性,用findwindow判断程序,误报可能太大,有哪位大大能提供delphi的判断文件的特征码的好例子,麻烦写出来,指点一二。分不多,因为不会... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(471)
评论(0)
推荐(0)
摘要:
关于 打印设置 的问题 讨论。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108134026279.html 打印的很多选项设置,打印到哪台打印机,打印的份数,打印方向,纸张类型等。 究竟该如何设置? 比如 打印的份数 printer.Co... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(175)
评论(0)
推荐(0)
摘要:
程序关闭后会自动清楚所有的变量吗? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108134739278.html 我的一个程序,里面有窗口句柄变量、进程句柄变量等等很多! 如果程序中没有释放这些变量。关闭程序后,这些都会释放吗? 还有我程序中使用的键盘钩... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(164)
评论(0)
推荐(0)
摘要:
除了用一个时间器来定时获得当前时间外。还有什么办法可以实时准确的获得当前时间? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108144052277.html 如题。 时间器比如设一秒就重新获取一次。可以是可以,但是有没有更好的办法? date 获得日期, ... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(211)
评论(0)
推荐(0)
摘要:
求可以对其他程序进行apihook的可用代码!!谢谢 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108152650276.html 求可以对其他程序进行apihook的可用代码!!谢谢 APIHook 示例 http://www.delphifans.com/SoftV... 阅读全文
posted @ 2009-04-08 09:16
delphi2007
阅读(145)
评论(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
阅读(561)
评论(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
阅读(234)
评论(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
阅读(226)
评论(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)