Method of structure
The method of Delphi structure is almost the same as that of class. The main difference is the memory management and visibility.
TMyStruct = record
function ToString: string;
function TMyStruct.ToString: string;
Result := Format('N ...
Posted on Tue, 03 Dec 2019 16:02:58 -0800 by NoDoze
This paper mainly talks about how to gradually load the dynamic link library written in C + + language in C ා and how to match the data types of C ා and C + + language when importing
In the development of new projects, new languages are used to develop C ා and new technical solutions web services. However, in new projects, some ol ...
Posted on Fri, 22 Nov 2019 11:22:25 -0800 by dan_t
When querying data from the database, sometimes it is necessary to obtain the size of the field content in advance, and then process it according to the situation.
For things like ADO that return TField, you can use the DataSize property, but!!! There is a deep pit here!
First look at the following code:
if ADOQuery.FieldByName('Test').DataSize ...
Posted on Wed, 30 Oct 2019 07:46:52 -0700 by GeorgeMoney
As a 5-year Delphi, Delphi has always been regarded as the king of desktop applications, and I believe other Delphis also think so.
However, slowly I found that the common way of Delphi development can cause a serious bloated code, especially in the case of large MDI projects, multi-person development at the same time.
For ex ...
Posted on Wed, 04 Sep 2019 23:19:30 -0700 by Rodders
Learning Notes: CentOS 7 Learning Twenty: The Basis of shell Scripting
20.1 shell Basic Grammar
20.1.1 What is shell?
20.1.2 Programming Language Classification
20.1.3 What is shell script
20.2 SHELL Variables and Their Application
20.2.1 shell variable
20.2.2 User Defined ...
Posted on Tue, 25 Jun 2019 11:54:47 -0700 by yodasan000
Polymorphism literally means "multiple states". In object-oriented languages, many different implementations of interfaces are polymorphism. Referring to Charlie Calverts'description of polymorphism, polymorphism is a technique that allows you to set a parent object to one or more of its children as ...
Posted on Wed, 15 May 2019 16:24:45 -0700 by samip1983
This article is from: http://www.cnblogs.com/hezihang/p/6083555.html.
Delphi uses interface to design modules, which can reduce the coupling between modules and facilitate expansion and maintenance. This paper provides a monitor mode based on IInterface (observer mode, subscriber mode) to implement an automatic multicast.
The following program ...
Posted on Wed, 20 Mar 2019 22:39:26 -0700 by tablex