摘要: 1.静态加载 procedure DoSomething; external 'MYLIB.DLL'; 2.动态加载 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->uses Windows, ; type TTimeRec = ... 阅读全文
posted @ 2009-02-12 17:03 XFeng信息科技工作室 阅读(200) 评论(0) 推荐(0)
摘要: 1.Class Fields Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//例1 成员变量 type TAncestor = class Value: Integer; end; TDesce... 阅读全文
posted @ 2009-02-12 16:40 XFeng信息科技工作室 阅读(248) 评论(0) 推荐(0)
摘要: 1.类的声明格式 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->type className = class [abstract | sealed] (ancestorClass) memberList end... 阅读全文
posted @ 2009-02-12 16:14 XFeng信息科技工作室 阅读(166) 评论(0) 推荐(0)
摘要: 1.参数定义方式 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->function Power(X: Real; Y: Integer): Real; //(X, Y: Real) //(var S: string; X: Integer) ... 阅读全文
posted @ 2009-02-12 15:59 XFeng信息科技工作室 阅读(326) 评论(0) 推荐(0)
摘要: 1.函数的定义 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//格式 function functionName(parameterList): returnType; directives; localDeclarations; ... 阅读全文
posted @ 2009-02-12 15:34 XFeng信息科技工作室 阅读(178) 评论(0) 推荐(0)
摘要: 1.基本数据类型 1)Delphi自带了一些对基本类型的操作函数,如Ord ,Pred,Succ ,High,Low 2)枚举类型 声明 type Suit = (Club, Diamond, Heart, Spade);//where Ord(Club) returns 0, Ord(Diamond) returns 1... 如果枚举类型的名称和类型名重复的使用方法: ... 阅读全文
posted @ 2009-02-12 14:17 XFeng信息科技工作室 阅读(210) 评论(0) 推荐(0)
摘要: Delphi有如下数据类型: 1.简单数据类型: ordinal integer character Boolean enumerated subrange real 2.字符串类型 string 3.集合类型 set array record file class class reference interface 4.指针类型 pointer ... 阅读全文
posted @ 2009-02-12 13:43 XFeng信息科技工作室 阅读(133) 评论(0) 推荐(0)
摘要: 1.基本赋值语句 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Size := 20; Price := 10; 2.特殊符号 1)单个特殊符号 # $ & ' ( ) * + , - . / : ; @ [ ] ^ { } 2... 阅读全文
posted @ 2009-02-12 13:35 XFeng信息科技工作室 阅读(306) 评论(0) 推荐(0)
摘要: 1.单元和程序(Units和Programs) 1)Programs Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->program Editor; uses Forms, REAbout, // An "About" box ... 阅读全文
posted @ 2009-02-12 13:22 XFeng信息科技工作室 阅读(287) 评论(0) 推荐(0)
摘要: 最近准备做一个用Delphi客户端调用.NET的WebService的项目。所以把项目开发计划和学习计划写在博客上。希望对自己的技术有个促进。 因为网上用Delphi客户端调用.net的WebService的项目和资料并不多,再加上我也没做过客户端程序,所以一些东东还要靠自己去钻研。大致的计划如下。 1.Delphi语言的学习(主要针对Delphi2007自带的语言帮助文件进行翻... 阅读全文
posted @ 2009-02-12 12:47 XFeng信息科技工作室 阅读(1319) 评论(3) 推荐(0)