2008年11月17日 星期一
DELPHI下的Winsock编程--从TClientSocket控件出发(转载)
小城太阳| 网络天空vistra-Delphi |23:15:00
DELPHI下的SOCK编程 题外话:我认为学习编程就如同学习外语一样,最好的方式是你先学会如何去运用它,然后才是了解它的语言特性、语法之类的东西。不过很可惜,我们以前的外语教育使用了相反的过程。软件编程也是一样,在很多?..
delphi winsock 函数详解
小城太阳| 网络天空vistra-Delphi |22:11:00
用于初始化Winsock[声明]int WSAStarup(WORD wVersionRequested,LPWSADATA lpWSAData);[参数]wVersionRequested - 要求使用Winsock的最低版本号lpWSAData - Winsock的详细资料[返回值]当函数成功调用时返回0失败时返回非0的值2、socket函数用于生成socket(soket Desc...
delphi 下的 winsock 编程【转载】
小城太阳| 网络天空vistra-Delphi |22:06:00
在谈论TServerSocket等组件编写之前,这里先对Winsock中一些基本概念和API函数做一个简单的说明。一、定址 要通过Winsock建立通信,必须了解如何利用指定的协议为工作站定址。Winsock 2引入了几个新的、与协议无关的函数...
合并多个连续的空格为一个
rarnu| 橙子的Delphi技术专区-delphi |13:14:00
需要使用到第三方正则表达式库uses RegExpr;function MergeSpaces(str: String): String;varre: TRegExpr;beginre := TRegExpr.Create;re.Expression := '\s+';result := re.Replace(str, ' ');re.Free;end;类别:delphi技术 查看评论
How to Shut Down / Reboot Windows 2000 / XP / NT from Delphi code
About.com| About.com Delphi Programming |13:00:49
TIPS :: Under NT-based platforms, there are TOKEN PRIVILEGES. In these privileges, you have one for Shutdown allowance ("SeShutDownPrivilege"). So, the reason why you can't shutdown or reboot Win 2K...
How to write your own components in less than 3 minutes...
delphi3000| delphi3000.com |12:00:00
This tutorial was kept as short as possible, since Delphi can be rather overwhelming, and since this is aimed at the beginner aide any conceptual support, this tutorial will give you a quick and easy start into writing [modifying] components. It w...
How to write your own progressbar in less than 2 minutes...
delphi3000| delphi3000.com |12:00:00
This very short tutorial shows you how to add a progress bar to any web browser programs you make in less than 2 minutes. It is very basic, and kept as short as possible, you can figure out most of the code just by looking at it. Aimed at beginner...
How to create your own splash screen in less than 3 minutes...
delphi3000| delphi3000.com |12:00:00
This is a basic and very short tutorial for creating your own splash screen. The best way to learn Delphi is to have an example, and study the code. Do not rely on 3rd party components when you do not have to! Create your own splash screen in less...
Turbo Pascal version 1.0 - compiler directives
David I| Sip from the Firehose |09:27:31
In the Turbo Pascal version 1.0 manual the compiler directives default values are given special attention in several places.? Early in the manual, there is a note that says: READ THIS !!! Turbo Pascal provides a number of compiler directives to c...
2008年11月16日 星期日
Turbo Pascal version 1.0 - What was happening in the industry during 1983?
David I| Sip from the Firehose |10:12:05
Turbo Pascal version 1.0 was released on November 20, 1983.? There was a lot going on throughout 1983 during the time of Turbo Pascal’s development and first shipment.? Here are a few computer industry?milestones that took place in 1983. Ap...
TCommonDialog. TaskModalDialog bugfix unit
Admin| 二十年前旧板桥 |04:26:35
QC #68740:Lost focus after TOpenDialog when MainFormOnTaskBar is setQC #68740:设置MainFormOnTaskBar时打开TOpenDialog后程序失去focus的问题。CodeCentral download: http://cc.codegear.com/item/26282Tags -delphi2009,bugfix
2008年11月15日 星期六
Delphi 的内存操作函数(6): 跨进程的内存分配
万一| 万一的 Delphi 博客 |18:50:00
Delphi 为我们提供了三个方便的函数:GlobalAllocPtr {简化自 API 的 GlobalAlloc} GlobalReAllocPtr {简化自 API 的 GlobalReAlloc} GlobalFreePtr {简化自 API 的 GlobalFree}这些函数读写本程序以外的数据, 使用也很方便, 譬如:p := GlobalAllocPtr(0, Len); ...
IDE Fix Pack 1.0 for RAD Studio 2009
CodeGear| CodeGear-CodeCentral Delphi |16:38:41
The IDE Fix Pack installs an DLL-Expert that fixes the following Delphi/C++Builder 2009 bugs at runtime:* The TDBText control does not store the Color property into the DFM file if the property is set to clWindow* Form.Hide/Close trashes the stack...
TOpen/SaveDialog focus bugfix unit (2007/2009)
CodeGear| CodeGear-CodeCentral Delphi |16:01:23
TaskModalDialogBugFix is a bugfix unit that fixes QC #68740:Lost focus after TOpenDialog when MainFormOnTaskBar is set.(http://qc.codegear.com/wc/qcmain.aspx?d=68740)Usage:Add the unit to the .dpr file's uses-list. Nothing more to do. The unit's i...
IDE Fix Pack 1.6 for RAD Studio 2007
CodeGear| CodeGear-CodeCentral Delphi |15:56:11
The IDE Fix Pack installs an DLL-Expert that fixes the following RAD Studio 2007 bugs at runtime:* IDE does not correctly resize the editor window in docked mode when the application is restored, maximized or resized (Win64).* Sometimes the IDE ha...





冀公网安备 13098202000212号