Http://altd.embarcadero.com/download/radstudio/xe2/delphicbuilder_xe2_4358_win_dl.iso
Delphi. xe2 Cracking Method
I installed delphi. xe2.rtm. v16.0.20.6.43595.lite. V5.0. After installation, it will be displayed as a 15-day trial.
After exiting xe2C: \ Program Files \ Embarcadero \ rad studio \ 9.0 \ licenseDelete folder.
When xe2 is opened, the registration window appears, for example:
Delphi provides powerful DBGrid components to facilitate database application design. However, if we only use the DBGrid component, each grid is a simple text editing box, which is inconvenient for users to input data. Delphi also provides some other data components to facilitate user input, such as dbcombobox and dbcheckbox, but these components do not have the powerful functions of DBGrid. Can
The following installation environment is Win7 64-bit1. Install the Delphi10.1 Berlin version.2. Modify C:\Program files (x86) \embarcadero\studio\18.0\cglm.ini file[Embarcadero License Management]Rootdir=${module_dir}\.Licensedir=${rootdir}\licenseInfodir=${common_appdata}\embarcadero\18\.licensesSlipdir=${common_appdata}\embarcadero\18Regexe=licensemanager.exeLocktype=5[Embarcadero SLIP Files]slipfile=3. Add the "18" directory below the C:\ProgramData\Embarcadero\ directory, and then copy the
Need to refer to SHELLAPI unit;Procedure Tform1.button1click (Sender:tobject); var seinfo:tshellexecuteinfo; Exitcode:dword; Executefile, paramstring, startinstring:string; Begin Executefile: = ' c:\Windows\system32\Calc.exe '; Fillchar (Seinfo, SizeOf (seinfo), #0); Seinfo.cbsize: = SizeOf (Tshellexecuteinfo); With Seinfo do begin fmask: = see_mask_nocloseprocess; Wnd: = Application.handle; Lpfile: = PChar (Executefile); Paramstring can contain the applicatio
Delphi-delphi common types and definition units
Type
Unit
Date
Sysutils
DeleteFile
Sysutils or Windows (different versions)
Dispatchinvokeerror
Comobj
DWORD
Windows
Edatabaseerror
Db
Encodedatetime
Dateutils
_stream
Adodb_tlb
Aktop, Akleft, Akr
Originally from: http://my.oschina.net/pc100/blog/380016The procedure starts with the reserved word procedure, has no return value, and the function starts with the reserved word function and has a return value.Parameters are enclosed in parentheses, and multiple parameters are separated by semicolons, for example:Procedure SetDate (Year:integer; Month:integer; Day:integer);You can also group parameters of the same type together, and the above procedure title is written as:Procedure SetDate (yea
Today, I tried it .. something about delphi .. because you do not like to install and kill software .. because I still like high system efficiency... there is only 360 on the computer. usually look at your own port .. generally, it's okay.
Today, when I compiled the software and went to the Virtual Machine for testing, how was it a virus? I saw the prompt of Kingsoft, and Delphi's nightmare was depressing (I often walked by the river and wet my shoes
There are several versions in the middle of Delphi 7 and Xe, which are not very popular. First, Delphi is somewhat marginalized, and second, 7 is almost perfect in the XP environment. There are fewer and fewer books on delphi on the market, and it is useless to provide information from 7 to Xe. Here I will try to list the differences and precautions between 7 and
I have known a value assignment instruction (mov) of an Assembly and an addition instruction (ADD), so I can give an example.
For example: Add ax, BX; this is equivalent to ax: = AX + bx in Delphi;
In addition, a list is provided in advance-Delphi can use assembler to manage the following registers:32-bit register: eax EBX ECx edX ESP EBP ESI EDI16-bit register: ax bx cx dx sp bp Si Di8-bit register:
Using Delphi to make statistical charts
Using the Dbchart control under Data controls (name set to DBCHT1), double click on Add to the type you want
First query in Delphi, then add
Dbcht1. Series[0]. xlabelssource:= ' field name ';
Dbcht1. Series[0]. yvalues.valuesource:= ' field name ';
Dbcht1. Series[0]. Datasource:=qry_1;
Dbcht1. Title.Text.SetText (' Name of the chart ');
The data can be disp
The 16th chapter of Delphi Database Program design----using BDE componentsDelphi accesses the database in the following ways: ADO, BDE, dbexpress, InterBase Express.One, Tdataset componentsAlthough Delphi has several ways to access the database, they must rely on tdataset. It is used to display all records obtained from a single or multiple data tables in a database.1. Tdataset Common PropertiesActive: Spec
Principle:
Put the exe that needs to be included into the input source file, compile it with the original program into an exe file, release the exe when the program runs for the first time, and then call the exe file.
Steps:
1. Create an rc file. It can be written in any text editor. File Format: "Resource Name resource type file name ".
For the resource type, if it is an exe file, it should be an EXEFILE, and if it is a binary file, it is RCDATA.
Create a file float. rc:
Code
Code highlighting
Following last night's article: http://blog.csdn.net/yxf/archive/2006/09/28/1303281.aspx, write a method that uses Delphi to write a client. Also called last night's libss.dll.
1. Create a new console application, called Sampleservice.invoker.
2. File->new->other, Web services/wsdl Importer, fill in the location of the WSDL File or URL http://localhost/MyServices/ Sampleservice/libss.dll/wsdl/isampleservice, then click Finish, then click Finish, then
Use the MDI form in Delphi. The project file is as follows:
Application. initialize;Application. createform (tmainform, mainform );Application. createform (taboutbox, aboutbox );Aboutbox. show;Aboutbox. Hide;Mainform. showmodal;Application. Run;
If the order of creation of aboutform and mainform is reversed, opening an mdichild form in the main form will result in the following error.
Can not create form, no MDI forms are currently active. Othe
, drag the last edit and a label, a button, press F9, lean, and do not start the browser and display the page. Not after setting browser in Tools-gt;options. Don't know what the reason. But my co-workers are basically ready to run when they copy and install them from my machine. Say "basic" means that the page does not appear, but automatically opened IE, only the above shows the server error prompts. may be related to the environment of the respective machine. My machine is fitted with oracle,
Since the initial value of the dynamic array in Delphi is not always 0, setlength is used before each use of a one-dimensional array, and then fillchar is generally used for clearing, however, if the array is more than dozens of MB, the efficiency of fillchar is very low. For this reason, I specifically wrote some optimization code for clearing the array or memory.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlig
{
Diese unit kann in Ein package compiliert werden und erscheint danach im
Delphi menu unter Hilfe.
}
{This unit can be compiled into a package and will then appear in the DelphiHelp menu.}Unit sdcsimpleexpert;
Interface
Uses toolsapi;
TypeTsdcsimpleexpert = Class (tnotifierobject, iotamenuwizard, iotawizard)PublicFunction getidstring: string;Function getname: string;Function getstate: twizardstate;Procedure execute;Function getmenutext: string;End;
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.