DelphiµÄÃüÁîÐбàÒëÃüÁî
Borland³öÆ·µÄDelphi£¬ÓÐ×ÅÉÁµç°ãµÄ±àÒëËٶȣ¬µ«ÊÇÔÚ½çÃæ¿Ø¼þʹÓý϶ࡢ¹¤³ÌÏîÄ¿½Ï´óµÄʱºò£¬±àÒëÒ»¸ö¹¤³ÌÈÔÐèÒªÒ»¶Îʱ¼ä£¬´ò¿ªÅÓ´óµÄDelphi IDE£¬Ò²ÐèҪʱ¼ä¡£Æäʵ£¬ÔÚÒ»¸ö¹¤³Ì¿ª·¢½áÊø£¬µ÷ÊÔÍê³ÉÖ®ºóµÄRelease±àÒ룬ÍêÈ«¿ÉÒÔÓÃÃüÁîÐÐÀ´Ö´ÐУ¬ÒòΪDelphiµÄ±àÒëÆ÷²ÎÊý²»ÏñC++±àÒëÆ÷ÄÇÑù¸´ÔÓ¡£
±ÊÕß°ÑDelphiÁª»úÊÖ²áÖйØÓÚÃüÁîÐбàÒë(command-line compiler)µÄ¼¸ÆªÖ÷Ìâ×÷ÁË·Ò룬ϣÍû¶ÔDelphi¿ª·¢ÈËÔ±ÓаïÖú¡£
Ŀ¼
1. Command-line compiler
ÃüÁîÐбàÒëÆ÷
2. Command-line compiler options
ÃüÁîÐбàÒëÆ÷Ñ¡Ïî
3. Compiler directive options
±àÒëÆ÷Ö¸ÁîÑ¡Ïî
4. Compiler mode options
±àÒëģʽѡÏî
5. DCC32.CFG file
±àÒëÆ÷ÅäÖÃÎļþDCC32.CFG
6. Debug options
µ÷ÊÔÑ¡Ïî
7. Directory options
Ŀ¼ѡÏî
8. IDE command-line options
IDEÃüÁîÐÐÑ¡Ïî
9. Generated files
¼¸¸öIDE×Ô¶¯Éú³ÉµÄÎļþ½éÉÜ
Command-line compiler
ÃüÁîÐбàÒëÆ÷
Delphi's command-line compiler (dcc32.EXE) lets you invoke all the functions of the IDE compiler (DELPHI32.EXE) from the DOS command line (see IDE command-line options. Run the command-line compiler from the DOS prompt using the syntax:
Delphi’sÃüÁîÐбàÒëÆ÷(dcc32.exe)ÔÊÐíÄã´ÓDOSÃüÁîÐз½Ê½(²ÎÕÕ£ºIDEÃüÁîÐÐÑ¡Ïî)ʵÏÖIDE±àÒëÆ÷(delphi32.exe)µÄËùÓй¦ÄÜ¡£ÓÃDOSÃüÁîÔËÐÐÃüÁîÐбàÒëÆ÷Óï·¨ÈçÏ£º
dcc32 [options] filename [options]
dcc32 [Ñ¡Ïî] [ÎļþÃû] [Ñ¡Ïî]
where options are zero or more parameters that provide information to the compiler and filename is the name of the source file to compile. If you type dcc32 alone, it displays a help screen of command-line options and syntax.
Áã»ò¶à¸ö²ÎÊý¸ø±àÒëÆ÷ÌṩÐÅÏ¢£¬ÎļþÃûÖ¸¶¨ÐèÒª±àÒëµÄÔ´ÎļþÃû¡£Èç¹ûÄãµ¥¶ÀÊäÈëdcc32£¬Ëü»áÏÔʾһ¸ö¹ØÓÚÃüÁîÐбàÒëµÄÑ¡ÏîºÍÓï·¨µÄÆÁÄ»¡£
If filename does not have an extension, the command-line compiler assumes .dpr, then .pas, if no .dpr is found. If the file you're compiling to doesn't have an extension, you must append a period (.) to the end of the filename.
Èç¹ûÎļþÃûûÓÐÀ©Õ¹Ãû£¬ÃüÁîÐбàÒ
Ïà¹ØÎĵµ£º
ÔÚDELPHIΪ±à³ÌÕßÌṩÁËÒ»¸öÁé»îµÄ»æͼ³¡Ëù,¼´±¾ÎÄËùÊöµÄ
CANVASÀà,ÔÚDELPHIÖеĺܶà¿Ø¼þ¶¼¾ßÓдËÊôÐÔ,ʹ±à³ÌÕß¿ÉÒÔ
ÔÚÕâЩµÄ¿Ø¼þµÄ±íÃæËæÐÄËùÓûµÄ»æͼ,Õâ¶ÔÍêÉÆÓû§½çÃæ»òÕßÖÆ
×÷һЩÆÁÄ»Ìؼ¼¶¼ÓÐ×Å·Ç·²µÄ×÷ÓÃ,ÏÂÃæ¾ÙÀý˵Ã÷¼¸ÖÖÌØÊâÆÁÄ» &n ......
Ãû³Æ ÀàÐÍ ËµÃ÷
abort º¯Êý ÒýÆð·ÅÆúµÄÒâÍâ´¦Àí
abs º¯Êý ¾ø¶ÔÖµº¯Êý
addexitproc º¯Êý ½«Ò»¹ý³ÌÌí¼Óµ½ÔËÐÐʱ¿âµÄ½áÊø¹ý³Ì±íÖÐ
addr º¯Êý ·µ»ØÖ¸¶¨¶ÔÏóµÄµØÖ·
adjustlinebreaks º¯Êý ½«¸ø¶¨×Ö·û´®µÄÐзָô·ûµ÷ÕûΪcr/lfÐòÁÐ
align ÊôÐÔ Ê¹¿Ø¼þλÓÚ´°¿Úij²¿·Ö
alignment ÊôÐÔ ¿ ......
ÒÔÇ°¿´ÁË Í¨¹ý±ÀÀ£µØÖ·ÕÒ´íÎóÐÐÊýÖ®VC°æ ÄÇʱºò»¹Ã»ÓÃDELPHI
×òÍí¸ÕºÃÓÖ¿´µ½ÁË ËùÒÔ¾ÍÊÔÁËÒ»ÏÂDELPHIµÄ£¬Óë´ó¼Ò¹²Ïí ^_^
ʲôÊÇ MAP Îļþ£¿¼òµ¥µØ½²£¬ MAP ÎļþÊdzÌÐòµÄÈ«¾Ö·ûºÅ¡¢Ô´ÎļþºÍ´úÂëÐкÅÐÅÏ¢µÄΨһµÄÎı¾±íʾ·½·¨£¬Ëü¿ÉÒÔÔÚÈκεط½¡¢ÈκÎʱºòʹÓ㬲»ÐèÒªÓжîÍâµÄ³ÌÐò½øÐÐÖ§³Ö¡£¶øÇÒ£¬ÕâÊÇΨһÄÜÕÒ³ö³Ì ......
unit Servicescontrol;
interface
uses Windows,Messages,SysUtils,Winsvc,Dialogs;
function StartServices(Const SvrName:String):Boolean;
function StopServices(Const SvrName:String):Boolean;
function QueryServiceStatu(Const SvrName:  ......
The built-in assembler allows you to write assembly code within Delphi programs. It has the following features:
ÄÚǶµÄ»ã±àÆ÷ÔÊÐíÔÚdelphi³ÌÐòÖÐÊéд»ã±à´úÂ룬ËûÓÐÈçÏÂÌØÐÔ£º
Allows for inline assembly
ÔÊÐíÄÚǶ»ã±à
Supports all instructions found in the Intel Pentium III, In ......