2008年12月19日 星期五
客户端delphi使用XML与中间层C#.net通信的例子,客户端用idhttp的post发送请求
扬帆| 扬帆Blog - Delphi |21:03:31
客户端代码:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdBaseComponent, IdComponent, IdTCPConnection,&nb...
Delphi使用XMLHTTP例子
扬帆| 扬帆Blog - Delphi |21:02:16
Function XMLHTTPSTR:String;varurl:string;xmlHttp:Olevariant;responseText:Widestring;beginWith Form1 doBeginif (Length(edit1.Text)>0) AND (Length(edit2.Text)>0) thenbeginxmlHttp:=CreateOleObject('MSXML2.XMLHTTP');xmlHttp.open(edit2.Text,edit1...
学习 Message(4): 通过 Application.OnMessage 或 TApplicationEvents 响应消息
幸福苹果| 幸福苹果-delphi |20:42:00
http://www.cnblogs.com/del/archive/2008/10/24/1319086.html通过 Application.OnMessage 响应消息:unitUnit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;阅读全文类别:delphi编程 查看?..
Delphi获取输入法候选字列表
幸福苹果| 幸福苹果-delphi |20:41:00
http://bbs.gameres.com/showthread.asp?threadid=37541首先定义了一个变量m_strCondList来储存候选字,string类型。在主窗体的Create事件中增加 Application.OnMessage := WinMessage;WinMessage函数如下:procedure TfrmMain.WinMessage(var Msg : TMsg; var Handl...
从类到数据库结构的三种方式
幸福苹果| 幸福苹果-delphi |20:40:00
http://blog.tanggaowei.com/2008/11/post-48.html作者 Neot 写于 2008-11-16 | 158 次浏览假设用户类有编号、姓名和性别三个属性:用户类编号阅读全文类别:delphi编程 查看评论
DirectX全屏模式下中文输入的解决方案
幸福苹果| 幸福苹果-delphi |20:36:00
http://www.huosoft.com/blogview.asp?logID=79阅读全文类别:delphi编程 查看评论
如何实现【中文】键盘记录?
幸福苹果| 幸福苹果-delphi |20:34:00
http://topic.csdn.net/t/20050917/19/4277101.htmlhttp://topic.csdn.net/t/20040715/14/3177575.htmlhttp://topic.csdn.net/u/20081003/11/983a15ab-6918-45e8-a1cb-8907a24c9a7c.html?1000371702阅读全文类别:delphi编程 查看评论
一个中英文记录delphi实现
幸福苹果| 幸福苹果-delphi |20:32:00
http://blog.donews.com/radson/archive/2006/05/29/893546.aspx声明:参考了汇编版的代码,刘麻子的一些东西---------可以说是个李鬼问题:记录退格键时会记成 [<=](怎么解决?我技穷了!);也许还有其他的,希望能指出并提出解决方法。主要代码:function Hoo...
输入法编程资料
幸福苹果| 幸福苹果-delphi |20:06:00
输入法编程指南[推荐]http://www.wbfans.com/bbs/viewthread.php?tid=4495哪有软入法代码?http://topic.csdn.net/t/20020625/21/829761.htmlWindows 输入法编辑器 (IME)http://blog阅读全文类别:delphi编程 查看评论
Delphi怎么设置系统当前输入法
幸福苹果| 幸福苹果-delphi |19:54:00
http://www.programfan.com/blog/article.asp?id=37252标签:输入法unit ime95;// 这些函式, 我通常是在 edit 的 ondblclick 事件中呼叫测试interfac阅读全文类别:delphi编程 查看评论
Delphi编程控制摄像头 //使用DELPHI使用MS的AVICAP32.DLL就可轻松的实现对摄像头编程
幸福苹果| 幸福苹果-delphi |19:26:00
http://www.seodb.cn/html/1/1-1480.htmlconst WM_CAP_START = WM_USER;Seo资讯社区门户;[ f*E*g/V _const WM_CAP_STOP = WM_CAP_START + 68;Z ` U M N D8@0const WM_CAP_DRIVER_CONNECT = WM_CAP_START + 10;Y w d j1B0const WM阅读全文类别:delphi编程 查看?..
用IDHTTP传送自定义Cookie
扬帆| 扬帆Blog - Delphi |15:03:23
最近研究IdHttp,传送Cookie,网上找了很多资料,但奉献不大,只能作为参考,研究了几天几夜,终于搞定了,下面贴出代码,供大家参考,代码如下:procedure Post_init;begin http.Request.SetHeaders;//必须加上,才能完成下面的工作 &nb...
如何用idhttp提交自己构造过的Cookie
扬帆| 扬帆Blog - Delphi |15:00:58
我不知道的是:如果把自己构造过的Cookie传给idhttp让它提交。比如站点http://www.aaa.com是要cookie的。我已经在程序上放了idhttp和IdCookieManager。我gethttp://www.aaa.com后,idhttp通过IdCookieManager已经得到当前站点的Cookie了。我可以用for i := 0 to IdCo...
Delphi对cookie的操作
扬帆| 扬帆Blog - Delphi |13:31:22
idhtp1.CookieManager := TIdCookieManager.Create(nil); idhtp1.CookieManager.AddCookie('baidu=sb','baidu.com'); idhtp1.Get('http://www.baidu.com'); for I := ...
Delphi 的编译指令(4): 编译指令全表(未完)
万一| 万一的 Delphi 博客 |13:29:00
指令及默认值可选值范围注释举例{$A8}{$ALIGN8}{$A+},{$A-},{$A1},{$A2},{$A4},{$A8};{$ALIGN ON},{$ALIGN OFF},{$ALIGN 1},{$ALIGN 2},{$ALIGN 4},{$ALIGN 8}Local{$APPTYPE GUI}{$APPTYPE GUI},{$APPTYPE CONSOLE}Global{$B-}{$BOOLEVAL OFF}{$B+},{$B-};{$BOOLEVA...





冀公网安备 13098202000212号