<?xml version='1.0' encoding='gb2312'?>
<rss version='2.0'>
<channel>
<title>DelphiBox</title>
<description>Delphi Box Articles</description>
<link>http://www.2ccc.com/</link>
<language>zh-cn</language>
<copyright>Copyright 2004, www.2ccc.com</copyright>
<webMaster>root@2ccc.com</webMaster>
<docs>http://www.2ccc.com/rss.asp</docs>
<generator>Rss Generator By www.2ccc.com</generator>
<item>
<title><![CDATA[一个带录音功能的多媒体播放器的控件MPLAY，可支持wav录音格式，播放mp3,wma,mpg等格式]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5938</link>
<author>delphi_dcs </author>
<description><![CDATA[一个带录音功能的多媒体播放器，可支持wav录音格式，播放mp3,wma,mpg等格式。提供DMEO源代码与大家一起学习提高，希望大家多提意见，帮助完善起来啊。。。^_^。。。各位大牛千万别见笑。。。

在看源代码前，请安装component目录下的MPlayer控件]]></description>
<comments>下载:1369 浏览:750</comments>
<pubDate>Sun, 01 Jan 2012 16:01:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[DELPHI7 ADO查询时显示等待窗口]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5937</link>
<author>andylist </author>
<description><![CDATA[不用多线程,查询数据量较大时,显示等待窗口,简单易用.适合初学者.]]></description>
<comments>下载:3693 浏览:1577</comments>
<pubDate>Sun, 25 Dec 2011 16:12:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[SQL SERVER 实时的取得在线用户列表]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5936</link>
<author>dcopyboy </author>
<description><![CDATA[SQL SERVER 实时的取得在线用户列表
 
    我们在开发C/S管理系统时往往需要限制用户登陆，如同一用户名只能单点登陆或同一IP只能单点登陆，解决这类问题的关键是获取正真在线用户的列表。由于各种原因（如掉线、网络故障、死机等），实时在线用户列表较难获得，我们不得不定时刷新在线用户数据表，在指定的时间内未刷新数据的用户视为离线用户。这一方式较好的解决了在线用户列表获取问题，但存在2个问题：1、实时性较差，2、需额外的资源进行维护。
    我们知道系统表MASTER..SYSPROCESSES记录了一些用户登陆的信息，表中program_name字段为登陆的管理系统程序名，该字段的内容对绝大多数管理系统无实质性的意义，我

们能否从program_name做文章，较为实时的取得在线用户列表呢？
   答案是可以的，首先我们的管理系统在启动时产生一 GUID，并转换成字符串，假设为:LinkGuid,我们在编写SQL SERVER的链接字串时采用如下格式：
       'Provider=SQLOLEDB.1;Password=' + Password
        + ';Persist Security Info=True;User ID=' + USERNAME + ';Initial Catalog=' + databasename
        + ';Data Source=' + servername +';Application Name='+LinkGuid;
    一旦管理系统登陆成功，我们可以从系统表MASTER..SYSPROCESSES中查到program_name字段为LinkGuid串的登陆链接信息。
    登陆成功后，我们只需将登陆信息插入自己定义的数据表中，假设为：[数据安全],表的字段包括LinkGuid、Username、UserIp等信息，此表只需插入数据，登陆后不再需要维护。那么，我们随时可以采用如下的SQL语句查到当前在线用户列表：
    
  select LinkGuid,Username,UserIp from [数据安全] where exists(select net_address from MASTER..SYSPROCESSES where program_name=LinkGuid)

    经大量测试，上述在线用户列表的实时性大的超过常规需定时刷新的在线用户的列表，实用性较高，数据不需定时维护。


   义乌科创计算机有限公司软件部
   Dcopyboy
   Email：dcopyboy@tom.com
   QQ:445235526]]></description>
<comments>下载:260 浏览:1124</comments>
<pubDate>Sat, 24 Dec 2011 16:12:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[UDT 封装成的DELPHI 控件]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5935</link>
<author>littlestone08 </author>
<description><![CDATA[UDT是国人开发的OpenSource的用UDP实现可靠数据传输的协议。
这里我重新导出了函数，并封闭成DELPHI控件.

DELPHIER们越来越少，上传上来希望能加点人气吧

具体信息可以在网上GOOGLE UDT。

这里有我做控件时的一些笔记
http://www.cnblogs.com/littlestone08/archive/2011/12/17/2291194.html]]></description>
<comments>下载:324 浏览:1893</comments>
<pubDate>Sat, 17 Dec 2011 16:12:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[表达式解析求值 & JSON操作 0.4.2]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5934</link>
<author>creation_zy </author>
<description><![CDATA[http://code.google.com/p/jsonexpr/

    表达式的解析和求值是一个应用面非常广的功能。而JSON格式因其简明、易于操作，使用面日渐广泛。本项目将表达式分析的结果存放在JSON对象中，可以非常方便的进行解读及求值。 实现了基于JSON表达式的目标语言文本输出功能。 

Functions:

    ExprToJSON
    JSONToExpr
    Eval
    EvalNumber
    VarNeeded
    TraceOnLine
    ValImport
    ValExport
    TJETranslater.TranslateJETree 

Plugins:

    Var Helper
    Func Helper 

Supports:

Math operation 	+ - * / \ % & | ^ ~ ! >> &lt;&lt;
Bool operation 	AND OR XOR
Compare operation 	= > &lt; &lt;> >= &lt;=
Object operation 	. IS
Set value 	X := Y += -= = /= ...
Value collection 	IN (a,b)
String operation 	LEN
Condition expr 	IF( condition, value1, value2)
IFELSE( condition1, value1, condition2, value2, ... valueElse)
Case expr 	CASE( v, value1, expr1, value2, expr2, ... , exprElse)
Loop expr 	FOR, WHILE, REPEAT, TIMES
Sentence end tag 	;
Variable with " 	"My Var"
Array access 	AB[ C+2 ,10 ]
Print output 	Print(Msg)
Eval a string 	Eval('A+=20; B:=A/10;')
Funcion/Var define	public function Max(A,B):=IF(A>B,A,B);

Parse Example：

    2 + X / Sin(Y) => {op:"+",p1:2,p2:{op:"/",p1:"X",p2:{op:"SIN",p1:"Y"}}}
    Z/(X.Max+0.5) => {op:"/",p1:"Z",p2:{op:"+",p1:{op:".",p1:"X",p2:"Max"},p2:0.5}} 

Eval Example：

    IF( Y.Name IS not NULL, PI, 3 + (9&lt;&lt;2) )
    X:=3; Y:=X-5; IF(2>X+Y, 2, X*Y)
    X1:=1; Y:=IF(X IS NULL,0,X1|5); Z:=9/IF(X1+2&lt;=(3+Y),X2:=X1&lt;&lt;3,(Y:=X1*10; X2:=Y|100));
    P1.X:=10; P1.Y:=9-P1.X/2; S:=P1.((X+2)/Y) 

Aim Language Convert Example:

    Convert expression to Pascal:

    X:=1+IF(A&lt;B,IF(B,100,0.5)*1.5,IF(A&lt;>C,2,4+5))

=>

if A&lt;B then
begin
  if B then
  begin
    tv_4_2:=100;
  end
  else begin
    tv_4_2:=0.5;
  end;
  tv_2_1:=tv_4_2*1.5;
end
else begin
  if A&lt;>C then
  begin
    tv_3_3:=2;
  end
  else begin
    tv_3_3:=4+5;
  end;
  tv_2_1:=tv_3_3;
end;
X:=1+tv_2_1]]></description>
<comments>下载:2628 浏览:1063</comments>
<pubDate>Fri, 25 Nov 2011 16:11:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[TNTUnicode+TntIniFiles+改编版ShellTreeView]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5930</link>
<author>diystar </author>
<description><![CDATA[本控件包包含：
1. 原版 TNTUnicode 2.3（最后一个免费版）
2. 网上找到的TntIniFiles
3. 本人改编的ShellTreeView，支持Unicode]]></description>
<comments>下载:92 浏览:659</comments>
<pubDate>Thu, 17 Nov 2011 16:11:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[手机号段在线查询功能]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5925</link>
<author>luweilove </author>
<description><![CDATA[软件集成手机号段在线查询功能，随手写了一个，共享上来，菜鸟级别，大鸟请飘过，没有版权，你懂的
以后上传点东西，给盒子添点人气，大富翁都挂了，盒子要挺住！]]></description>
<comments>下载:1237 浏览:1632</comments>
<pubDate>Sun, 30 Oct 2011 16:10:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[D2010下intraweb开发中文显示?之部分解决方案！]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5923</link>
<author>m523882802 </author>
<description><![CDATA[   小弟最近因公司需求开发B/S分销系统，IDE：XP SP3+D2010+SQL 2005
因第一次使用IW，中间遇到了不少难题。经过摸索总算解决了！
   最让人讨厌的就是这个中文显示？的问题了！一直在网上查找资料，近来找到了 这样一个单元 UTF8ContentParser.pas.供大家参考，如有不对之处还请指教！
   对一些如‘名，上’这样的字，我也没有找到这样的单元，D2010是包含了UTF8单元，但是没有彻底解决。我是绕过这样的字，用别的字代替！

  代码上传不过了？那我在下面贴出来了！]]></description>
<comments>下载:89 浏览:1087</comments>
<pubDate>Wed, 19 Oct 2011 16:10:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[ListView自绘简单代码，以及透明滚动条]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5919</link>
<author>diystar </author>
<description><![CDATA[由随风飞音播放器提取出来的ListView自绘简单代码，其中包括了一个透明滚动条代码（由网上找到的自绘滚动条代码改编）。]]></description>
<comments>下载:5483 浏览:2746</comments>
<pubDate>Wed, 12 Oct 2011 16:10:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[GDI+简单代码实现的全透明窗口]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5918</link>
<author>diystar </author>
<description><![CDATA[简单实现全透明，关键代码仅为一句。
版本仅为D6，D6还能轻松写出win7时代的界面，简直就是一个传奇。]]></description>
<comments>下载:2750 浏览:2435</comments>
<pubDate>Wed, 12 Oct 2011 16:10:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[修改ASQLite3D2010 支持中文显示]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5917</link>
<author>xchen </author>
<description><![CDATA[呵呵，修改ASQLite一下支持中文，就改一个函数进去。
在TASQLite3DB.SQLite3_GetNextResult 对ftString类型处理，其它的没做处理，谁有空可以去处理ftMemo及其他数据类型，还有SQLite3_Column_text16我也没处理。]]></description>
<comments>下载:1505 浏览:3390</comments>
<pubDate>Wed, 21 Sep 2011 16:09:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[非ADO - ADO 转换接口(用BDE模拟实现ADOQuery)]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5916</link>
<author>shaoyy </author>
<description><![CDATA[      本程序演示了通过重新实现标准ADO的接口，使得使用非ADO的方式(如BDE或ado.net)的应用程序或控件可以用ADO的方式来访问这些数据。
   通过这个Demo程序，大家可以熟悉一下Delphi中的接口编程(Interface)及ADO的工作方式。

   这种方式类似于我们熟悉的硬件通信接口中的"串口-USB"或"串口-TCP/IP"的转接头，代码中的 TAcProxDataset 类就相当于
   这个转接头的功能。

     随着ado.net和其它数据库访问技术的发展，ADO将逐渐淡出，但ADO在windows平台有N年的统治历史，所有的开发工具都支持，留下了大量
   支持ADO的控件和资源，例如大量优秀的标准COM控件只支持ADO，通过这种方式，我们即使没有使用ADO连接方式（例如BDE或ado.net），也可以
   直接使用这些只支持ADO的控件。

   PS：本人编写 TAcProxDataset 的初衷是为了在AC Report报表控件的COM版中直接支持BDE/ClientDataset及ado.net中的DataTable，因为
   AC Report目前只支持应用程序传入ADO的RecordSet。目前还只是初步实现显示(读)的功能，更新数据暂时没有实现，需要进一步完善接口代码，
   希望有人进一步完善。

   shaoyy, qq:229481711]]></description>
<comments>下载:860 浏览:1546</comments>
<pubDate>Tue, 20 Sep 2011 16:09:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[八皇后问题，使用递归解决方法]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5914</link>
<author>deitel </author>
<description><![CDATA[以前写的一个八皇后问题的小程序，因为使用了动态数组，所以速度有点慢，欢迎各位完善哈。]]></description>
<comments>下载:208 浏览:1533</comments>
<pubDate>Thu, 15 Sep 2011 16:09:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[DevExpress VCL 2011 Vol 1.6 Full Source]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5913</link>
<author>hongpx </author>
<description><![CDATA[资源上传中
临时下载地址：
http://uploading.com/files/7mcb16cd/vol16sf.rar/
http://www.easy-share.com/1917964915/vol16sf.rar]]></description>
<comments>下载:14756 浏览:9512</comments>
<pubDate>Fri, 02 Sep 2011 16:09:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[天气预报无控件绿色版]]></title>
<link>http://www.2ccc.com/article.asp?articleid=5907</link>
<author>huw </author>
<description><![CDATA[在luweilove发布的天气预报代码改编，去掉了bspngimage相关的控件，用最基本的image,imagelist控件代替。]]></description>
<comments>下载:3519 浏览:3003</comments>
<pubDate>Tue, 16 Aug 2011 16:08:00 GMT</pubDate>
</item>
</channel></rss>
