当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: defproj.cfg__ Default configura
 

 

 ·第4部分 编译文件(第9页)    »显示摘要«
    摘要: 第4部分 编译文件(第9页) 一个更复杂的例子接下来展示的一个程序例子,被分割到了2个文件。一个工程文件,一个单元文件。你可以将工程文件保存为greeting.dpr,它看起来是这样的:program greeting;{$apptype console}uses unit1;beginprintmessage(hello world!);end.第一行说明了程序名称为greeting,又是......
 ·用delphi制作dll小结    »显示摘要«
    摘要: 一 dll的制作一般分为以下几步:1 在一个dll工程里写一个过程或函数2 写一个exports关键字,在其下写过程的名称。不用写参数和调用后缀。二 参数传递1 参数类型最好与window c++的参数类型一致。不要用delphi的数据类型。2 最好有返回值[即使是一个过程],来报出调用成功或失败,或状态。成功或失败的返回值最好为1[成功]或0[失败].一句话,与windows c++兼容。3 ......


Delphi command-line compiler

defproj.cfg__ default configuration which compiled by all projects

delphi command-line compiler 【程序编程相关:多层数据库开发三:创建多层应用程序

defproj.dof__default configuration of all projects. 【推荐阅读:四舍五入的BUG

the command-line compiler lets you invoke all the functions of the ide compiler from the command line. run the command-line compiler from the command line prompt using the syntax: 【扩展信息:DBGrid使用全书(三)

dcc32  [options]  filename  [options]

where options are zero or more parameters that provide information to the compiler and filename is the name of the source file to compile.

to display a help screen of command-line options and syntax:

dcc32

borland delphi version 15.0

copyright (c) 1983,2002 borland software corporation

 

syntax: dcc32 [options] filename [options]

 

  -a= = set unit alias                                 -lu = use package

  -b = build all units                                  -m = make modified units

  -cc = console target                              -n = dcu output directory

  -cg = gui target                                      -o = object directories

  -d = define conditionals                        -p = look for 8.3 file names als

  -e = exe output directory                      -q = quiet compile


...   下一页
    摘要: 编写delphi应用程序时,经常会遇到一些activex控件[注:扩展名为ocx的控件或dll的类型库],它们为应用程序的开发提供了简单的操作途径。然而,这些程序在发布的同时,面临activex控件注册问题。解决途径:一、用安装程序制作打包文件,往往会给增加程序本身的大小,系统重装时,则必须重新安装它;二、用程序本身进行代码编写函数的形式处理它。使用方法分为两种:一、直接把可视化的activex......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE