04 2009 档案
如何设计一个软件的架构,使它可以提供二次开发的功能?
摘要:如何设计一个软件的架构,使它可以提供二次开发的功能? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061204120343300.html 如题。 哈?这个问题很深奥哦,可以先看看 gof的软件设计模式 阅读全文
posted @ 2009-04-22 10:52 delphi2007 阅读(571) 评论(0) 推荐(0)
注册表压缩?
摘要:注册表压缩? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061204144814299.html 很多软件都有注册表压缩功能,有没有哪位大侠知道怎么用代码实现注册表的压缩? 我也想知道,好奇中 我也想知道,好奇中 ========================== ... 阅读全文
posted @ 2009-04-22 10:52 delphi2007 阅读(366) 评论(0) 推荐(0)
新手提问
摘要:新手提问 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061204150703298.html 有两个文本文件 文件1内容 444 333 222 111 文件2内容 111 222 我想在文件1中每读... 阅读全文
posted @ 2009-04-22 10:52 delphi2007 阅读(321) 评论(0) 推荐(0)
如何实现当有新邮件时主界面及时提醒??----------------在线等!
摘要:如何实现当有新邮件时主界面及时提醒??----------------在线等! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061204162033297.html 当用户A给用户B发送邮件后,用户B的主界面上进行及时提醒??不用time控件间隔从数据库中提取记录. 请帮帮小弟吧.... 阅读全文
posted @ 2009-04-22 10:52 delphi2007 阅读(448) 评论(0) 推荐(0)
如何使用overload
摘要:如何使用overload Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061204165744296.html 我在unit1中定义了一个涵数funciton xxx(cc):double,我想在unti5中重载,请问在unit5中该怎样用呢?还有就是在unit1中是否需在涵数funci... 阅读全文
posted @ 2009-04-22 10:52 delphi2007 阅读(451) 评论(0) 推荐(0)
Debugger Exception Notification问题?? ??
摘要:Debugger Exception Notification问题?? ?? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061204190804295.html program Project2; {$APPTYPE CONSOLE} u... 阅读全文
posted @ 2009-04-22 10:52 delphi2007 阅读(441) 评论(0) 推荐(0)
我是新手,请问关于建登陆模块的代码问题
摘要:我是新手,请问关于建登陆模块的代码问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061204220038294.html 假设我在做系统需要"管理员"和"普通用户"登陆,那在表格里我有"userload""password""rights'分别表示"用户名""密码""权限","权限"可以... 阅读全文
posted @ 2009-04-22 10:52 delphi2007 阅读(333) 评论(0) 推荐(0)
delphi小数位置
摘要:delphi小数位置 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061204220041293.html TBCD 类型具体怎么用呢? 现在我用delphi定义的是double类型,我在excel里面算的时候能显示到小数点后16,17位置,为什么在delphi里就显示10位?... 阅读全文
posted @ 2009-04-22 10:52 delphi2007 阅读(463) 评论(0) 推荐(0)
请教程序终止问题
摘要:请教程序终止问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061204224249292.html 1.新建一个 application 主窗口Form1 2.主窗口中放置一个Button,点击该Button,Form1.free,同时显示另外一个窗口Form2 ... 阅读全文
posted @ 2009-04-22 10:52 delphi2007 阅读(358) 评论(0) 推荐(0)
文本内容处理的问题,请教!
摘要:文本内容处理的问题,请教! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205001316290.html 我有一个asp的文本文件,要从里面读取一部分内容,格式是固定的 279行 SICA 这行要读取 userID~后到.asp前的 ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(154) 评论(0) 推荐(0)
怎样读写一个二进制文件
摘要:怎样读写一个二进制文件 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205105447289.html 怎样读写一个二进制文件,比如 2356EEDF23CDE79OCDEEFXBP 以二进制的形式写入到一个 任意格式的文件中 如 ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(332) 评论(0) 推荐(0)
请问"="的用法
摘要:请问"="的用法 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205114622288.html 请问"="的用法 ?? 就是等于嘛 就等于嘛 这个还要问-_#! 这个问题比较尖端,难道是传说中的"哥德八赫猜想"证明1+1=2? "="为什么会是是等于 Objec... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(164) 评论(0) 推荐(0)
如何绘制类似仓库的平面位置图
摘要:如何绘制类似仓库的平面位置图 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205115218287.html 如何绘制类似仓库的平面位置图,图中的每一个货物位置都是不规则的多边形,点击图中某一货物位置可以调用相应的Form显示不同的货物信息。 完全基于数据库的地图实现技术 ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(353) 评论(0) 推荐(0)
2个基础问题:如何修改PCHAR?
摘要:2个基础问题:如何修改PCHAR? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205132245286.html 1.如何增加字符到PCHAR?如: p:pchar GetWindowText(p....) 想在前面加上个'D'如何加? (不要... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(179) 评论(0) 推荐(0)
文件读写问题
摘要:文件读写问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205132405285.html 我的文件是这样的 [配置] 00:01 你好 00:03 欢迎 00:14 光临 01:20 ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(107) 评论(0) 推荐(0)
新手求助
摘要:新手求助 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205141547284.html 对于一个系统设计怎样实现多个权限的登陆操作?如管理员和普通用户 搜索一下以前的帖子,很多的 权限设计方案很多的,偷懒的话就用一个数字来区分就可以了 简单的方法就是建立一个基本权限树表和用户权限表... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(98) 评论(0) 推荐(0)
关于设置登陆窗口,新手
摘要:关于设置登陆窗口,新手 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205143722283.html 怎样实现系统设计时,用不同的帐户登陆~~简言之实现登陆窗口设计的代码该怎么写?我是新手 有多种方案,我这种算是抛砖引玉了: 创建一个工程Project1,两个窗体Form... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(373) 评论(0) 推荐(0)
请教如何在窗体加载时指定其大小和位置?
摘要:请教如何在窗体加载时指定其大小和位置? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205145939282.html 如题。 procedure TForm1.FormShow(Sender: TObject); begin Top:=20;... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(358) 评论(0) 推荐(0)
对象有没有类似于ZeroMemory的方法?
摘要:对象有没有类似于ZeroMemory的方法? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205174106281.html 把对象所包含的所有数据清零。 之前以为是CleanupInstance,但试了一下,不对。 没有 这么直接呀。。。 再考虑考虑? 有! ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(515) 评论(0) 推荐(0)
如何在程序出错后继续运行出错的代码后面的代码?
摘要:如何在程序出错后继续运行出错的代码后面的代码? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205174624280.html 比如说 第一行 第二行 第三行 ...... 第N行 如果在运行第二行的时候出错... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(417) 评论(0) 推荐(0)
fastreport分组脚本问题
摘要:fastreport分组脚本问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205174746279.html 现有一数据表如下: a1 大连 234 a2 旅顺 567 ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(513) 评论(0) 推荐(0)
我的字符串比较函数没起作用????
摘要:我的字符串比较函数没起作用???? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205175922278.html 最近老师要求我们模拟页面置换的先进先出,在进行页面置换的时候,我希望先对页面名称进行比较,一样的话,就没必要进行置换. procedure TF... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(287) 评论(0) 推荐(0)
关于数据显示转化
摘要:关于数据显示转化 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205193606277.html 我现在在做一个科室医生管理系统,在做表结构设计的时候,对于"有无中医专家""有无西医专家"均设成bit类型(SQL),想以1表示有,0表示无.但是转到前台的显示时,直接连接显示是"1""0... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(309) 评论(0) 推荐(0)
写查询语句出现的问题.显示查不到的数据出错,帮忙看看
摘要:写查询语句出现的问题.显示查不到的数据出错,帮忙看看 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205203545276.html if(form4.RBdepno.Checked) then begin ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(350) 评论(0) 推荐(0)
在dbgriddrawCell中怎样写转化语句
摘要:在dbgriddrawCell中怎样写转化语句 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205222508275.html 在dbgriddrawCell是不是可以写转化语句,使原先为"0""1"的数据转为"无""有"显示? //参考如下代码: ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(401) 评论(0) 推荐(0)
delphi pi怎么得到?
摘要:delphi pi怎么得到? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205223540274.html 我想在delphi里用pi计算,请问有函数直接调用吗? 难道我还要自己写一个常量pi=3.141592653 不知道math.pas里有常量定义吗?俺这里没装del... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(452) 评论(0) 推荐(0)
怎样给TMainMenu添加mousemove事件?
摘要:怎样给TMainMenu添加mousemove事件? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205235216273.html 我自己想给TMainMenu加一个mousemove事件,如下: unit Menu; interface ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(166) 评论(0) 推荐(0)
高分送上->编辑.exe文件,恢复被病毒感染的文件。
摘要:高分送上->编辑.exe文件,恢复被病毒感染的文件。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206005440272.html 很不幸,我中毒了。感染了几乎全部的.exe程序文件和.scr屏保文件。杀毒后这些文件都不能用了。 但我用16进制编辑器比较中毒的文... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(212) 评论(0) 推荐(0)
关于指针
摘要:关于指针 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206091612270.html 在C++中: int *p; 请问p[1]在delpi中怎么表示. C++里的int * p ;是定义了一个整型指针 在delphi里就是 va... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(127) 评论(0) 推荐(0)
请指点一下,讨论也可以,顶也有分
摘要:请指点一下,讨论也可以,顶也有分 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206091917269.html 先说我一直以来的观点,不知对错。 多线程的同步有三个方法,建互斥锁,Synchronize和消息。前两个我不说了,只说消息。 我... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(88) 评论(0) 推荐(0)
fastreport3分组脚本问题,急,急,急
摘要:fastreport3分组脚本问题,急,急,急 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206105106268.html 现有一数据表如下: a1 大连 234 a2 旅顺 567 a2... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(192) 评论(0) 推荐(0)
怎样使原先为"0""1"的数据转为"无""有"显示?
摘要:怎样使原先为"0""1"的数据转为"无""有"显示? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206105919267.html 朋友提了很多建议,可是我还是用不成功.比如说ongettext事件怎么得到呢?具体该怎么实现我想要的功能?新手跪求 不明白你的意思,能否详细的说一下?... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(135) 评论(0) 推荐(0)
memo显示问题
摘要:memo显示问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206113439266.html 问题是从 SQL 语句 SELECT 出来 的时候 是0.80185000,但是在fastreport中memo打印出来的时候是0.8018,请问... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(117) 评论(0) 推荐(0)
SQL中使用日期筛选的问题
摘要:SQL中使用日期筛选的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206144136265.html procedure TForm4.BitBtn1Click(Sender: TObject); begin adoquery1.Close; ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(339) 评论(0) 推荐(0)
请教如何在onshow事件里退出.
摘要:请教如何在onshow事件里退出. Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206144507264.html 本人用delphi 6写了一个dll,dll里创建了名为frm_user_defined_report_forms的from。本人想在这个from的onshow事件做... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(121) 评论(0) 推荐(0)
如何转换memo中指定的字符串
摘要:如何转换memo中指定的字符串 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206155151263.html 比如memo中的文本为: fasd[林]safad[清]ddfd[霞] 要实现的效果是转化为 fasd[周]safad[星]ddfd... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(641) 评论(0) 推荐(0)
如何写这算法
摘要:如何写这算法 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206162055262.html 有这样一个对应关系 1-A 2-B 3-C ... 26-Z 27-AA 28-AB ... 想输入数... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(307) 评论(0) 推荐(0)
表格图形处理?
摘要:表格图形处理? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206163149261.html 请问:我想实现在dbgrid1的第一列加上图标(是男的一种是女的一种)我想根据男/女来判断加的图标;请问这个怎实现呢;我在网上找到一段码. 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(270) 评论(0) 推荐(0)
请高手帮帮忙!有分送!
摘要:请高手帮帮忙!有分送! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206164919260.html 有没有复制文件夹的API函数!!!如果有怎么用?> y谢谢! 没有一个函数就能把文件夹和里面的文件一起就搞定的,除非是你自己写,系统没有标准的function 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(264) 评论(0) 推荐(0)
报表的相关问题,急啊!
摘要:报表的相关问题,急啊! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206170144259.html 我用的是QReport做报表。 我以前做是用QRDBText连数据库显示的,数据再多也会自动一页一页增加下去的。但是现在问题是我没有用数据库,直接就是要把计算出... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(327) 评论(1) 推荐(0)
InputQuery('输入查询条件','查询品名为'
摘要:InputQuery('输入查询条件','查询品名为' Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206181606258.html InputQuery('输入查询条件','查询品名为', NewString); 运行时,'查询品名为'才显示为... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(346) 评论(0) 推荐(0)
想建一个带分隔条的label 控件;
摘要:想建一个带分隔条的label 控件; Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206182116257.html 想建一个带分隔条的label 控件; 是竖式的分隔条,能不能实现?如何实现? 用TBevel控件,复制到你的窗体上看... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(376) 评论(0) 推荐(0)
CRC32算法问题
摘要:CRC32算法问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206182220256.html #include "stdafx.h" #include "crc.h" DWORD CCrc::CrcTable[256]; ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(527) 评论(0) 推荐(0)
新人求助关于类的构造和封装问题
摘要:新人求助关于类的构造和封装问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206195523254.html 为了练习类的构造和封装,自己写了这样一个小程序,设计三个单元unit Person,unit ET,unit Form,可是在写完Person单元的程序再在ET单... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(300) 评论(0) 推荐(0)
delphi里function怎么返回多个值呢?
摘要:delphi里function怎么返回多个值呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206210840253.html 我自己写了一个function,要想同时返回三个double类型的数值,请问怎么实现呢? 用引用做为参数。如: function ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(635) 评论(0) 推荐(0)
CoXMLHTTP30在哪个单元文件里?oReq := CoXMLHTTP30.Create; 这句为什么老出错?
摘要:CoXMLHTTP30在哪个单元文件里?oReq := CoXMLHTTP30.Create; 这句为什么老出错? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206214636252.html 我有一段代码: procedure TFrmZhGs.c... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(688) 评论(0) 推荐(0)
Delphi的HTTP事件代码有错,大虾进来看。
摘要:Delphi的HTTP事件代码有错,大虾进来看。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206215249251.html Procedure MASXML(Const MDataSet,MDataSets:TADODataSet); Var oReg:IX... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(450) 评论(0) 推荐(0)
请问delphi能否实现像CPU-Z的功能呢?
摘要:请问delphi能否实现像CPU-Z的功能呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106082317300.html 我们公司要统计电脑配置情况,现在做一个硬件读取配置的小软件就差CPU这一项了,现在只能读取CPU的频率,想实现CPU-Z的功能读取出CPU的型号比如:P4 ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(202) 评论(0) 推荐(0)
IE工具条不能自动显示
摘要:IE工具条不能自动显示 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106093741299.html 我做了一个IE工具条,但是安装后不能自动显示出来,要在工具栏里把它打钩才行,有没有办法让它安装后自动就显示在IE工具栏上呢,不用去手动的打钩,请各位大侠帮帮忙啊!小弟不甚感谢! 我也... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(102) 评论(0) 推荐(0)
超难....的内存映像权限问题,请达人指点!!!,不够分再加
摘要:超难....的内存映像权限问题,请达人指点!!!,不够分再加 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106100206298.html 一个普通程序和一个SERVER级程序交换内存映像 unit Unit1; interface ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(271) 评论(0) 推荐(0)
如何在delphi的程序中获取桌面刷新的消息
摘要:如何在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的问题,请大家帮看看!
摘要:关于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 阅读(245) 评论(0) 推荐(0)
关于动态加载dll问题
摘要:关于动态加载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 阅读(170) 评论(0) 推荐(0)
用createprocess执行word,需要为外部程序指定一个叁数'd:\aaa.doc',如果这个文档是stringlist中的某一项,那么该如何写呢?
摘要:用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内核问题××××××××××××
摘要:关于调用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)
开机先出先自己的程序界面,输入用户名和口令后再进入windows
摘要:开机先出先自己的程序界面,输入用户名和口令后再进入windows Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106222842291.html 我想实现这样一个功能,开机先出先自己的程序界面,输入用户名和口令后再进入windows(winxp或者win2000),有点类似网吧里面的登陆... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(255) 评论(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 阅读(237) 评论(0) 推荐(0)
delphi有几种方法创建子线程
摘要: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()的问题,在线等
摘要:关于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问题
摘要:多线程的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)
waitforsingleobject的问题
摘要:waitforsingleobject的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107162800285.html 我在主线程中用了waitforsingleobject,可以用吗,如果可以的话,在线程中调用这个函数的的话还用不用Synchronize函数啊 1.主线程等待子... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(224) 评论(0) 推荐(0)
为什么WaitForMultipleObjects返回后,对应的handle仍处于激发状态?
摘要:为什么WaitForMultipleObjects返回后,对应的handle仍处于激发状态? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107172543284.html 我写了个用WaitForMultipleObjects同步线程的例子,窗体上有三个memo,有一个mutex数组变... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(426) 评论(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 阅读(474) 评论(0) 推荐(0)
关于 打印设置 的问题 讨论。
摘要:关于 打印设置 的问题 讨论。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108134026279.html 打印的很多选项设置,打印到哪台打印机,打印的份数,打印方向,纸张类型等。 究竟该如何设置? 比如 打印的份数 printer.Co... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(179) 评论(0) 推荐(0)
程序关闭后会自动清楚所有的变量吗?
摘要:程序关闭后会自动清楚所有的变量吗? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108134739278.html 我的一个程序,里面有窗口句柄变量、进程句柄变量等等很多! 如果程序中没有释放这些变量。关闭程序后,这些都会释放吗? 还有我程序中使用的键盘钩... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(169) 评论(0) 推荐(0)
除了用一个时间器来定时获得当前时间外。还有什么办法可以实时准确的获得当前时间?
摘要:除了用一个时间器来定时获得当前时间外。还有什么办法可以实时准确的获得当前时间? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061108144052277.html 如题。 时间器比如设一秒就重新获取一次。可以是可以,但是有没有更好的办法? date 获得日期, ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(217) 评论(0) 推荐(0)
求可以对其他程序进行apihook的可用代码!!谢谢
摘要:求可以对其他程序进行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 阅读(147) 评论(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 阅读(170) 评论(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
摘要:时间问题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程序在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内容(其它人做的程序)
摘要: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怎么调用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来编写程序?
摘要:如何只用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 阅读(282) 评论(0) 推荐(0)
为什么我的windows Service程序启动的另一程序不显示呢
摘要:为什么我的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 的区别
摘要:问临界区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)
求救,高手帮看看(window 外壳)
摘要:求救,高手帮看看(window 外壳) Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061110094628261.html 各位高手我现在这里现在想实现虚拟硬盘在window xp系统上(如像u盘形式出现系统的样式),不知道在这方面怎么解决,小弟对这方面不是很了解,请大家多多帮助 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(175) 评论(0) 推荐(0)
一个特殊异常的问题
摘要:一个特殊异常的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061110100958260.html 程序涉及到 多线程 list 整个程序也还没看懂 只知道运行大概5天左右后 就报错 显示如下: Access violation ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(214) 评论(0) 推荐(0)
如何获得所有windows用户的SID
摘要:如何获得所有windows用户的SID Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061110113225259.html 有什么方法可以获得所有windows用户的SID 访问注册表 最好是指针形式的sid {$EXTERNALSYM ConvertSidToString... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(928) 评论(0) 推荐(0)
PB调用DELPHI的DLL之间传值的问题,大家来看看
摘要:PB调用DELPHI的DLL之间传值的问题,大家来看看 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061110115522258.html PB的主程序调用DELPHI的DLL,DLL在函数执行完后回传一个字符串给PB主程序,DLL里用的是PCHAR类型。。PB下该怎么接收? ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(984) 评论(0) 推荐(0)
如何截取浏览器弹出的Java脚本的窗口?
摘要:如何截取浏览器弹出的Java脚本的窗口? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061110171031257.html 如何截取浏览器弹出的Java脚本的窗口? 帮你顶 script error window or new Internet Explorer ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(281) 评论(0) 推荐(0)
如何利用API获取WINDOWS系统所有用户名和密码(做过的朋友进来看看)
摘要:如何利用API获取WINDOWS系统所有用户名和密码(做过的朋友进来看看) Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061110172545256.html 如何利用API获取WINDOWS系统所有用户名和密码 是不行的。。。 net user 就可以拿到用户名啊。。 ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(907) 评论(0) 推荐(0)
多线程问题?!!高手来
摘要:多线程问题?!!高手来 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061110202423255.html 一个函数 funtion temp(aa:integer;bb:integer):string; var i,j:integer; b... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(198) 评论(0) 推荐(0)
findfirst findnext 递归查找指定目录下所有子目录下所有文件,为什么总是死机?
摘要: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 阅读(826) 评论(1) 推荐(0)
HOOK 超级问题
摘要: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发送点击按钮???
摘要:如何向其他程序中的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)