You can use the following two methods to compile the command:
1. {$ ifdef ver210} ...... {$ endif}
2. {$ if compilerversion >=18.5} // someCode only compiled for Delphi 2007 and later {$ ifend}
Http://delphi.wikia.com/wiki/Borland_Compiler_Conditional_Defines
Product Name
Version
Conditional define
Embarcadero rad studio xe2
16.0
Ver230
Embarcadero rad studio XE
15.0
Ver220
Embarcadero rad studio 2
languages are also discussed below, therefore, if you are familiar with the type definition mentioned above, you may wish to read it down and you will be interested in the content. Finally, I will demonstrate some Delphi examples and introduce some tools that can dynamically access type information.
Subfield type
The subinterface type defines the value range of a certain type (Subrange). You can define the subboundary type of the integer type, for ex
Delphi in Tapplication detailedTransferred from: http://blog.sina.com.cn/s/blog_4d6f55d90100bmv9.htmlTapplication is the type used for the Delphi application, which is declared in the cell forms. Tapplication is the type that Delphi constructs for Windows applications, and its methods and property sets include the established basic operations and properties for c
Delphi embedded in the database application development tools such as DB form Expert is very powerful, we do not need to write any program code can quickly create a simple database application, and even create a database based on a number of tables of the main-detail database applications.
This chapter mainly introduces the general methods and steps of developing a simple database application with Delphi,
Object-oriented technology is the mainstream technology in the 90 's, all kinds of application software can make the software have higher quality if it constructs and penetrates the object-oriented style with object-oriented method. Object-oriented data management plays an important role in object-oriented programming. In Delphi, the support mode of object-type data management is one of the main features.
Delphi
Interface
UsesWindows, messages, sysutils, variants, classes, graphics, controls, forms,Dialogs, stdctrls; constWindowsmessage = wm_user + 101; Procedure userpro (VAR message: tmessage): Message windowsmessageUserpro is the name of the custom message processing function, and windowsmessage is a Windows message constant or custom message constant.---- Then add the message processing function to the program. The general format of the function is as follows: Procedure userclass. userpro (VAR messag
This article uses tools and all source code download: http://download.csdn.net/detail/sunylat/8190765Why do we want to invoke Java's Jar in the Delphi XE7 Android program, using the Java class? If we can do this, then it means that we have to expand the Delphi development of the Android program to a larger scope of development, in theory can call arbitrary Java code written, for the same time proficient in
2.1.9.4 String Type
The string type is in fact a one-dimensional array of characters. When you describe a variable of a string type, you should indicate the size of the string, and here is an example of the string type:
Type
MYSTRING:STRING[15];
Var
myname:mystring;
The variable myname is stated to be a maximum of 15 characters. If you do not specify the size of the string, Delphi considers the string to contain a maximum value of 255 characters
How does one use mysql bitsCN.com in vc and delphi? How does one use mysql databases in non-web programs or asp programs? There are two solutions to this problem:
1. use the api function library provided by mysql.
Many well-known mysql client tools are implemented in this wa
Delphi 5.x distributed multi-tier Application e-commerce
DelphiTutorial Series of books(034)《Delphi 5.xDistributed Multi-tier Application e-commerce Organize netizens (state)Email:Shuaihj@163.com
:
Source code of Part1 Part2 attachment
Author: Li Wei
Series name: Li Wei works Series
Press: Machinery Industry Press
ISBN: 7111080076
Mounting time: 2000-7-1
Published on: February 1, May 2000
Page numb
To facilitate their own work, the use of Delphi developed a database query analysis management tools. Share to everyone, the following characteristics:1. Due to the use of ADO connection, the theory supports all databases such as SQL Server, Access, MySQL, Oracle, etc.2. Support SQL keyword automatic prompt3. Support automatic prompt for table name4. Support table field automatic prompt5. Support sq keyword
B/S has been developed for many years. from 1997 to today's php asp. net Java. ruby is very mature. unfortunately, the rapid development capability of Delphi RAD is not achieved!
You need to develop a website by yourself. You need to learn HTML Div css php MySQL, and then ask the artist to beautify the website. Especially the layout is annoying.
The Java field does not bother with the presentation lay
DELPHI Database Development There are many kinds of, can connect Access database, MS SQL Server database, Oracle database, MySQL database and so on, general connection in two ways: BDE and ADO Two ways, are to establish a connection, Using commands to execute SQL statements (queries, insertions, deletions, updates, and so on), the core part of the database operations in the background is SQL statements, whi
Tags: Delphi bcb rtc Layer 3Write a program to use the three-tier architecture.Development Environment: windows7 + Delphi xe7 bcbxe7The server is BCB and the client is Delphi. The server is transferred from the Delphi code.Firedac, realthinclientsdk_v628_2013q4bcb, JSONTransmission Security: minimize transmission packe
Citation: https://stackoverflow.com/questions/27701294/ Why-does-delphi-xe7-ide-hangs-and-fails-on-out-of-memory-exceptionwhy does Delphi XE7 IDE hangs and fails on out of Memor Y exception? [Closed]Ask Question
Up vote10down votefavorite5
I ' m using Delphi XE7 IDE and it quite frequently hangs, starts to consume many system resources and fails
Delphi Level Test Paper (preliminary and intermediate) Example
I. multiple choice questions (40 questions in total)
1. You must switch back and forth between the form and editor windows frequently during program development. You can use the shortcut key ().
A, F12, and F11
B, F12, and f13
C, F12, and CTRL + F12
D, F12, ALT + F12
E, F12, and shift + F12
2. A function is as follows:
Function check (n, k: integer): integer;
VaR M: integer;
Begin
Repeat
M
This article examines the metadata of IBM DB2 Universal Database to dynamically build views and forms, including how to dynamically generate a new clx form and convert the form stream to Delphi. PAS and. XFM files and add them to the kylix and Delphi clx projects.
IntroductionIn the previous article, I checked the metadata of IBM DB2 Universal Database (UDB) to dynamically build views and forms. I used Bor
Delphi Regular expression Syntax (1): About case and Chinese//Replace generic string var reg:tperlregex; begin Reg: = tperlregex.create (nil' I love Delphi, but Delphi doesn't love me! '); Reg. RegEx ' delphi'//return: I love Delphi, but do not love me! Freeandnil (REG); En
Scriptgate is a library that implements the mutual invocation of JavaScript and Delphi code on Twebbrowser, specifically here: https://bitbucket.org/freeonterminate/scriptgateWith Scriptgate, we can easily implement JavaScript on the use of Delphi, currently support the latest Delphi Tokyo 10.2.3 version, note that the FMX type of control, the author said that su
In addition to supporting the use of visual components to build applications WYSIWYG, it also supports the design of their own parts for the development of applications.
In this chapter, you will explain how to write parts for the Delphi application. This chapter will serve two purposes:
Teach you how to customize parts
Make your parts an integral part of the Delphi environment
19.1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.