1. Introduction
When developing applications using Delphi, we usually need to design many documents and reports in various formats, and often create, edit, and modify files, although Delphi provides a lot of controls or methods for designing reports, there are obvious deficiencies, such as Chinese Input and Data Format control, which are troublesome. By using office tools that everyone is familiar with, yo
String operations in Delphi are very simple, but the background is quite complicated. The traditional string operation method of Pascal is different from that of Windows. Windows adopts the string operation method of C language. The 32-bit Delphi added the long string type, which is a string type that is indeed saved by Delphi.
String type
In Borland's Turbo Pasc
Halcon and DelphiHalcon and Delphi series, as early as two years to write, but on the one hand, because Halcon is priced up to tens of thousands of euros (not the renminbi) professional software, know not many people,On the other hand, too many personal chores, have no time to write, this time, the National Day free, in a hurry, open first.This title was originally intended to be used: "Halcon, OpenCV and Delphi
Http://www.delphifans.com/infoview/Article_730.htmlDate: February 20, 2006 2003 Views: 5602 view: [Font small font]1. Introduction in the Use of Delphi development applications, usually we want to design a lot of documents in various formats, reports, often to create, edit and modify the file, although Delphi itself provides a lot of design report control or method, but there are obvious shortcomings, such
One of the hardest things to do when writing an application with multiple languages and tools is to create and maintain interfaces to the definition file. Luckily, C++builder has done all this for you. When adding one to a project. Pas file, C++builder automatically creates a. hpp file.
In the CPP file, you can invoke Pascal's functions, objects, and so on. This provides a convenient way for the programmers of Delphi to transplant all or part of the
cannot directly access other interfaces through one interface. However, COM allows customers to call QueryInterface () in the com library to query other interfaces supported by component objects. In this sense, the component object is a bit like the broker of the interface object.After QueryInterface () is called, if the component object supports the interface to be queried, QueryInterface () returns a pointer to this interface. If the component object does not support this interface, QueryInte
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
In Delphi call C + + function and C + + call Delphi function is quite direct, it should be noted that Delphi 1 The default function call mode is Pascal, Delphi 4, Delphi 5 Default Way is optimized cdecl call way, That is the Register method. To implement function sharing bet
Whether Delphi can develop a Windows Driver (the driver here does not refer to VxD ^_^) has always been a concern of the majority of Delphi fans. Let's stop talking about whether the driver can be used or not. Let's take a look at the technical issues that need to be addressed when developing the driver with Delphi.
Delphi's linker cannot generate Windows kernel-
Windows system.
COM technology embedded in Word
Word is the best software for COM technology, which seems to be a bit extreme, but the powerful programming interface technology that Word provides can be that we control any part of Word by program. Whether it's open, save, print, or automatically draw a table in a document.
Through programming software, can be flexible to manipulate word, here only to Borland Delphi For example, for detailed descri
Valid Delphi
Clause 1: In any case, please have your Project have at least one user SysUtils. pas Unit
Many people who use Delphi complain that although Delphi is highly efficient in development, its compiled program is too large. Using Delphi5 to create a Project and compile it directly, the Size of the program has reached 286KB. If the same program is compiled
Chapter 5 Package
In our daily life, we will use all kinds of bags, including wallet, briefcase, backpack, and schoolbag ......, The package contains frequently used items. Once you leave the house that day, you can bring the bag with it. You don't need to consider the specific items in the package, even though some items in the package are needed. With these packages, you can travel easily. Of course, poor packaging or too many packages will become cumbersome.Similarly, in
asp.net| Script
View Delphi as a scripting languageThe first thing to support asp.net is to let ASP.net see Delphi as a scripting language, allowing ASP.net to invoke the Delphi. NET compiler for various ASP file types.Asp. NET to find the Web.config file under the root directory of the IIS virtual path. The following is the contents of the Web.config configurati
CodeGear (from Borland) company released the latest Delphi 2007 for Win32 version. As a user of Delphi, the first time to download, install and experience, now some of the use of feelings recorded as follows:
Note: The following comparisons are primarily directed at Delphi7 and Delphi2007, and some of the features listed below may already exist in delphi8/2005/2006.
1, download
You can download the trial
collection of information that is shared between different instances of the same window or control in Windows. When you create a new control using the traditional Windows programming method, you define a new window class and register it in Windows. You can also create a new window class based on an existing window class. This is called inheriting from the window class. In traditional Windows programming, if you want to build a customized control, you have to do it in a dynamic-link library, lik
all standard events in Delphi begin with "on". This is only for convenience, the compiler does not enforce it. Object Inspector is to look at the attribute type to determine whether the property is an event, and all method pointer properties are treated as events and appear in the event page.
⑷ Invoke Event
Generally, it is best to focus the call on the event. This means that a virtual method is created in the part to invoke the user's event-handli
The 1.dpr:delphi project file contains the Pascal code. Engineering files for Application Systems2.pas:pascal file, the source code of the Pascal unit, can be either a form-related unit or a separate unit. 3.dfm:delphi form file, a binary file that describes the properties of a form or data module and its components. Form interface file with the same name as the Pas file, andand one by one corresponds, defines the properties of the form properties and artifacts,4.BPG Borland Project Group Projec
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
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.