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.
Èç¹ûÎļþÃûûÓÐÀ©Õ¹Ãû£¬ÃüÁîÐбàÒ
Ïà¹ØÎĵµ£º
Ò»¡¢Òý×Ó£º
ÏÖÔÚµÄWindowsÓ¦ÓóÌÐò¼¸ºõ¶¼Ê¹ÓÃͼ±ê¡¢Í¼Æ¬¡¢¹â±ê¡¢ÉùÒôµÈ£¬ÎÒÃdzÆËüÃÇΪ×ÊÔ´£¨Resource£©¡£×î¼òµ¥µÄʹÓÃ×ÊÔ´µÄ°ì·¨ÊÇ°ÑÕâЩ×ÊÔ´µÄÔ´Îļþ´òÈëÈí¼þ°ü£¬ÒÔ·½±ã³ÌÐòÐèÒªµÄʱºòµ÷Óá£×ÊÔ´ÊdzÌÐòµÄÒ»²¿·Ö£¬³ÌÐòÒªÕý³£ÔËÐоÍÀë²»ÁË×ÊÔ´Îļþ¡£µ«ÊÇËüÊDz»¿ÉÖ´ÐдúÂë¡£
ΪÁ˸üºÃµØ¹ÜÀí×ÊÔ´£¬DelphiÖÐÌṩÁËÒ»ÖÖ.RESÀàÐ ......
Ò»¡¢ÕûÊýÀàÐÍ
ÀàÐÍ ËùÕ¼×Ö½ÚÊý È¡Öµ·¶Î§
byte 1 0-255
word 2 0-65535
shortint 1 -128-127
smallint 2 -32768-32767
integer 4 -214748648-214748467
longint 4 -214748648-214748467
cordinal 4 0-2147483647
¶þ¡¢ÊµÊýÀàÐÍ
ÀàÐÍ Ëùµã×Ö½ÚÊý È¡Öµ·¶Î§
Real 6 ±2.9×10µÄ¸º39´Î·½µ½1.7× ......
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 ......
ʹÓÃDelphiµ÷ÓÃWebServices½Ó¿ÚµÄ¼òµ¥Ó¦ÓÃʵÀý
Delphi´Ó6.0¾Í¿ªÊ¼Ö§³ÖWeb ServicesµÄ¿ª·¢ºÍÓ¦ÓÃÁË£¬±¾ÎÄͨ¹ýʹÓÃDelphi 7.0µ÷ÓÃÐÂÀË·¢ËͶÌÐŵÄWeb Service½øÐжÌÐÅÓ¦ÓóÌÐò¿ª·¢ÕâһʵÀýÏêϸµÄ½éÉÜÔÚDelphiÖÐÈçºÎ¿ª·¢»ùÓÚWeb ServicesµÄÓ¦ÓÃϵͳ¡£
µÚÒ»²½£¬×¼±¸¹¤×÷£¬Á˽âÐÂÀ˶ÌÐÅWeb Service¡£ÐÂÀË·¢ËͶÌÐŵÄWeb Serviceµ ......
procedure TForm_BaseMDI.FormKeyPress(Sender: TObject; var Key: Char);
begin
if Key = #13 then
begin
Key := #0;
SendMessage(Handle, 48384, 9, 0);
end;
end; ......