自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(55)
  • 资源 (5)
  • 收藏
  • 关注

原创 程序打成Jar包以后,访问路径的方法

public class Path{  private static String homePath;  public static String getHome()  {    String path = System.getProperty("test.home");    if (path != null) {      return path;    }    String hom

2002-11-04 13:05:00 1937

原创 关于Vector的优化,自制StringVector

public class StringVector{  private static final int DEFAULT_SIZE = 3;  private String [] data;  private int count;  public StringVector() {    this(DEFAULT_SIZE);  }  public StringVector(int init

2002-11-01 23:33:00 1046

原创 平滑SpeedButton

unit TFlatSpeedButtonUnit;interface{$I Version.inc}uses Windows, Messages, Classes, Controls, Forms, Graphics, StdCtrls, ExtCtrls,  CommCtrl, Buttons, FlatUtilitys;type  TFlatSpeedButton = cla

2001-10-16 10:40:00 1219

原创 快捷键(Delphi 5)---Enterprise

 快捷键: F11  ------------------------------------  显示对象监视器(Object Inspector)        F12  ------------------------------------  在窗体(Form)与程序代码编辑器(Code Editor)之间转换        Ctrl + F12 ------------

2001-08-28 16:00:00 927

原创 COM/DCOM中如何传递数组:

    因为COM/DCOM对象都不在Client程序运行的内存空间(内进程COM对象除外,即便如此,为了统一接口,内进程的COM也不得传递指针),而且在Win32中所有的程序都有自己独立的2GB的内存空间,程序与程序之间传递指针(内存地址)是毫无意义的,而数组、字符串等大量的数据在程序中都是分配一定的内存空间,然后用指针加内存偏移量来存取数据的,这时,如何在COM/DCO

2001-08-01 16:16:00 808

原创 可以计算到<<毫秒级>>的控件

unit mwFastTime;interfaceuses  SysUtils, Windows, Classes;type  TmwFastTime = class(TComponent)  private    c, n1, n2: TLargeInteger;    function GetElapsedTime: ShortString;    function GetElap

2001-07-31 14:22:00 815

原创 TCP/IP(九)

(*@///0000000B01*)(*@///0000000801*)(*@/// class t_news(t_mailnews) *)(*@/// constructor t_news.Create(Aowner:TComponent); *)constructor t_news.Create(Aowner:TComponent);begin  inherited create(AOwner

2001-07-30 16:47:00 830

原创 TCP/IP(八)

(*@///0000000601*)(*@/// procedure t_nntp.GetArticleNr(index:integer);                     // ARTICLE *)procedure t_nntp.GetArticleNr(index:integer);begin  if not f_logged_in then login;  self.SendCom

2001-07-30 16:46:00 760

原创 TCP/IP(六)

*@///0000000B01*)(*@/// procedure t_ftp.WndProc(var Msg : TMessage); *)procedure t_ftp.WndProc(var Msg : TMessage);var  temp_socket:TSocket;  sockinfo: TSockAddr;begin  if msg.msg    inherited WndPr

2001-07-30 16:45:00 772

原创 TCP/IP(七)

(*@///0000000501*)(*@/// procedure t_smtp.action; *)procedure t_smtp.action;var  i,j: integer;  s: string;begin  if (f_receipts=NIL) or (f_receipts.count=0)    or (f_body=NIL) or (f_body.count=0) or

2001-07-30 16:45:00 838

原创 TCP/IP (五)

(*@///*)(*@/// procedure t_http.DoBasicAuthorization(const username,password:string); *)procedure t_http.DoBasicAuthorization(const username,password:string);var  h: TMemoryStream;  encoded: TString

2001-07-30 16:44:00 881

原创 TCP/IP (四)

(*@///0000000501*)(*@/// destructor t_fingerd.Destroy; *)destructor t_fingerd.Destroy;begin  f_answer.Free;  inherited destroy;  end;(*@///0000000301*)(*@/// procedure t_fingerd.do_action; *)procedure

2001-07-30 16:43:00 784

原创 TCP/IP (三)

(*@///0000000D01*)(*@/// procedure t_tcpip.close_socket(var socket:TSocket); *)procedure t_tcpip.close_socket(var socket:TSocket);begin  if socket    Winsock.CloseSocket(socket);    if assigned(f_trac

2001-07-30 16:42:00 937

原创 TCP/IP 使网络连接驱向简单化(二)

(*@/// Parse a FTP directory line into a filedata record (UNIX and DOS style only) *)const month_string: array[0..11] of string =  (Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,D

2001-07-30 16:41:00 1056

原创 TCP/IP 使网络连接驱向简单化

自创改编小控件,不是一个哟!!仔细看一下,你一定会喜欢的!unit tcpip;(*@/// interface *)interface  (*$x+ *)(*@/// uses *)uses  sysutils,  classes,  controls,  forms,  winsock,(*$ifdef ver80 *)  winprocs,  wintypes,(*$else

2001-07-30 16:40:00 1279

原创 CGI技术及其开发(三)

第 二 部 分、 CGI 程 序 设 计 的 概 念    1.0 、 CGI 程 序 的 功 能:        首 先, 什 么 是 公 共 网 关 接 口( CGI ) 呢? CGI 是 一 个 用 于 定  义 WEB 服 务 器 与 外 部 程 序 之 间 通 信 方 式 的 标 准, 使 得 外 部 程 序  能 生 成 HTML 、 图 象 或 者 其 他 内 容, 而 服 务 器 

2001-07-30 16:30:00 970

原创 CGI技术及其开发(二)

二、CGI与其它扩展技术的比较 除CGI标准扩展技术外,常见的扩展技术还有API(ApplicationProgrammingInterface)和SSI(ServerSideIncludes),这两种技术都与具体的WWW服务器有关。下面先对这两种技术简要说明,然后再对这三种技术作比较。SSI技术:当服务器守护进程接收到客户端请求时,其子进程扫描客户端所请求的文档,以获取数据插入标志,再插入相关动

2001-07-30 16:29:00 967

原创 CGI技术及其开发

作为Internet上最主要的信息管理和组织手段,WWW由一系列相应的技术及应用构成,其组成技术包括HTTP、HTML、URL以及CGI等。WWW服务器本身提供一些基本功能,以完成客户端的请求和自身的管理。但不同的用户有不同的功能要求,其中许多功能是WWW服务器本身 不能提供的(比如在线查询等),它必须提供一种扩展手段,以允许用户编写扩展应用程序来扩展服务器的功能。CGI(CommonGatewa

2001-07-30 16:28:00 1471

原创 能够处理任何数据库字段的Panel

unit DBPanel;interfaceuses  windows, messages, sysutils, classes,graphics, controls, forms, dialogs,  extctrls, dbctrls, stdctrls, db;type  TDBPanel = class(tpanel)  private    { private declara

2001-07-24 16:18:00 718

原创 在Delphi中处理数据库日期型字段的显示与输入===>>>主窗口单元

{主窗口单元}unit Main;interfaceuses……{略去其他内容}procedure Table1BirthdayGetText(Sender: TField;var Text: String;DisplayText: Boolean);procedure Table1BirthdaySetText(Sender: TField; const Text: String);pr

2001-07-24 16:09:00 732

原创 在Delphi中处理数据库日期型字段的显示与输入

---- 在使用Delphi进行数据库设计时,不可避免的会涉及到日期型字段的输入问题。不过与Microsoft的Access 97中文版等相比,Delphi本身提供的日期型字段的显示和输入方式并不适合中国人的习惯。因此对于日期型字段的处理,大家提出了不少解决方法,但是处理结果在显示和输入上并不统一,例如显示时可以实现“yyyy年mm月dd日”的格式,但是在输入时还是要按照国外的习惯用“yyyy-m

2001-07-24 16:07:00 1692

原创 如何将C/C++程序转译成Delphi(十四)

7.2. Dynamic LinkingDynamic Linking is used to link the DLL at runtime.Handling Static and Dynamic Linking in the Jedi EnvironmentBecause both static and dynamic linking have their strengths, we

2001-07-24 13:45:00 751

原创 如何将C/C++程序转译成Delphi(十五)

8. The Jedi Common Support Unit unit JediUtil;{==========================================================}{ Jedi Common Support Unit }{=

2001-07-24 13:45:00 752

原创 如何将C/C++程序转译成Delphi(十三)

7. LinkingThere are two ways to link a DLL and import a function. Static linking is very easy and the recommended way if the DLL is certain to be available on the clients machine. If the DLL is opt

2001-07-24 13:39:00 896

原创 如何将C/C++程序转译成Delphi(十二)

5. Conditionals###ToDoBack to contents -->Back to contents 6. Functions6.1. BasicsLets use the following C-declaration as an example of declaring a function:WINADVAPIBOOLW

2001-07-24 13:35:00 817

原创 如何将C/C++程序转译成Delphi(十一)

4. MacrosIn C its possible to define macros. Macros are not available in Delphi, so functions must be used to translate C-macros. In most cases its easier to translate a macro based on the informa

2001-07-24 13:34:00 846

原创 如何将C/C++程序转译成Delphi(十)

3.6.3. Packed Records (Alignment)If a record is packed (aligned) then the starting byte of a field (and consequently also of the record) is aligned with the first byte of a word (16-bit or 2-byte al

2001-07-24 13:33:00 1008

原创 如何将C/C++程序转译成Delphi(九)

Case Integer of starts the variant part of the record. Each variant is identified by an ordinal value. This value has no meaning when the type is being used, but is required for declaration.Please n

2001-07-24 13:32:00 814

原创 如何将C/C++程序转译成Delphi(八)

3.6. Structures, Records3.6.1. Simple StructuresC structures are similar to records in Delphi. Structures are usually defined with the typedef keyword, but its also possible to do it with #define

2001-07-24 13:31:00 765

原创 如何将C/C++程序转译成Delphi(七)

Here is a real-world example from the winnt.h, which is not possible to translate to a native enumerated type://// Start Type//#define SERVICE_BOOT_START 0x

2001-07-24 13:30:00 683

原创 如何将C/C++程序转译成Delphi(六)

3.4. StringsIn C, as in Delphi, a string is an array of char types. Often, a string declaration is used in combination with a constant declaration specifying the maximum string length, as the follow

2001-07-24 13:29:00 841

原创 如何将C/C++程序转译成Delphi(四)

2.3. #defines as constantsC and C++ use #defines in several ways. In a C header file #define can be used for declaring a constant for declaring a symbol for conditional compilation for macro

2001-07-24 13:28:00 789

原创 如何将C/C++程序转译成Delphi(五)

1. Anatomy of a C HeaderBack to contents -->Back to contents ## to do2. Conversion Basics Back to contents -->2.1. NamingThe naming in converted header files sh

2001-07-24 13:28:00 1454

原创 如何将C/C++程序转译成Delphi(三)

2.2. Unit dependencies Back to contents -->C and C++ use #include to include header files in another header file or a source file. Delphi refers to units (in the USES clause) instead of header files

2001-07-24 13:26:00 905

原创 如何将C/C++程序转译成Delphi(二)

. Anatomy of a C HeaderBack to contents -->Back to contents ## to do2. Conversion Basics Back to contents -->2.1. NamingThe naming in converted header files should follow B

2001-07-24 13:24:00 1012

原创 如何将C/C++程序转译成Delphi

Conversion Tutorial Draft 4 27 JANUARY, 1998by Andreas Prucha Contents Anatomy of a C Header Conversion Basics Naming Unit dependencies #defines as constants Hexadecimal va

2001-07-24 13:22:00 1135

原创 与文件相关Api函数列表

Api函数列表                    ——与文件相关Api函数名函数说明适用范围W3.xW95NTmmioWrite写文件否是是WriteFile写文件否是是ExtractAssociatedIcon从文

2001-07-24 13:19:00 621

原创 最小的程序

program testwindow;uses  Windows,  Messages;var  WinClass: TWndClassA;  Inst, Handle, Button1, Label1, Edit1: Integer;  Msg: TMsg;  hFont: Integer;{ Checks if typed password is Amigreen and sh

2001-07-24 10:51:00 876

原创 随心所欲取颜色(鼠标经过的地方颜色值均可取到)

unit Ugetcor;interfaceuses  SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,  Forms, Dialogs, StdCtrls, ExtCtrls, Buttons;type  Tgetcol = class(TForm)    Panel1: TPanel;    L

2001-07-24 09:03:00 800

原创 如何在注册表中注册BDE

只拷贝BDE文件是不行的,还要写注册表:必需的注册表项目包括:1. BDE动态连接库文件位置设置Key : "HKEY_LOCAL_MACHINE/Software/Borland/Database Engine"Item : "DLLPATH"Value : BDE动态连接库文件所在位置,如"C:/Program Files/Borland/Common Files/BD

2001-07-23 09:06:00 1360

Oracle SQL实用讲解,最基本最实用的相关讲解

WITH –-小九九算法 t_base AS (SELECT LEVEL AS lv FROM dual CONNECT BY LEVEL <= 9), t_join AS (SELECT a.lv lv_a, b.lv lv_b, to_char(b.lv) || 'X' || to_char(a.lv) || '=' || rpad(to_char(a.lv * b.lv), 2, ' ') AS text FROM t_base a, t_base b WHERE b.lv <= a.lv) SELECT listagg(t_join.text, ' ') within GROUP(ORDER BY t_join.lv_b) AS m99 FROM t_join GROUP BY t_join.lv_a;

2022-08-28

plsqldeveloper全版本 32bit / 64bit plugins PLSQL工具的插件,支持32bit与64bit

plsqldeveloper 32bit / 64bit plugins PLSQL工具的插件,支持32bit与64bit,自主研发 可定制,有问题与疑问,可发邮件支持

2022-08-28

jiaozhu.zip 教主 Oracle SQL改写优化 2.0版

教主Oracle SQL高级查询优化改写完美培训视频 2.0版,这个我参与培训的,包含视频、SQL文件、教学文档内容完整,分享给大家学习,共同努力进阶转型开发DBA,人称教主,做sql改写十多年了,sql改写功底很强!

2020-06-15

PLSQL Developer插件 32bit

本资源是PLSQL DEVELOPER32bit的插件。 支持语句速录,自定义PLSQL块 表与字段的速查 excel导入与导出

2020-06-15

落落 Oracle SQL优化与改写培训教程

字典式写作手法:不讲具体语法,没有简单知识堆砌,直接以案例形式讲技巧与案例 大量优化实战方法:将主要SQL优化点一一剖析,分享大量SQL优化的实际工作经验 50余改写调优案例:覆盖大多数DBA日常工作场景,具有相当大的实用价值 技巧+案例:可以作为DBA的参考手册,也可以作为开发人员编写SQL的速查字典

2020-06-15

IPConfig源码(delphi7)

IPConfig 源码 是基于DELPHI7开发的。 有一些控件需要读者自己在网上下载。

2011-11-05

IPConfig-IP地址转换器

1->自动获取IP 2->自动获取网卡 3->自定义多地IP 4->拖盘右键切换 5->占用极小内存 此软件并不花销,只为实用 适用人群:电脑经常在多个IP之间切换的It人士

2011-11-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除