Report a class named TXXX exists to solve the DLL package Organization project running

For projects organized using DLL packages, many people know that if build with runtime package is not checked, there will be many problems. Therefore, the build with runtime package of all EXE and DLL projects is checked. At this time, you think

Configure win7 and iis7 to support WCF

By default, Windows 7 and iis7 do not support WCF. To support it, perform the following operations: 1. Run c: \ windows \ system32 \ cmd.exe as Administrator   2. Run the following command: "% WinDir % \ microsoft. Net \ framework \ V3.0 \

Batch Delete similar files (with wildcards)

Procedure Delfiles (filename: string ); VaR Searchrec: tsearchrec; Begin Chdir (extractfilepath (filename )); // Enter the file pathFindfirst (filename, faanyfile, searchrec ); Repeat If Fileexists (searchrec. Name) Then

Enumeration type in Delphi

The enumeration type is also a Custom ordered type. In the enumerated type, you list all possible values of this type, rather than specifying the range of the existing type. In other words, the enumeration type is a sequence of optional values. See

Encrypts all stored procedures of the current database.

Declare @ sp_name nvarchar (400) Declare @ sp_content nvarchar (2000) Declare @ asbegin int Declare @ now datetime Select @ now = getdate () Declare sp_cursor cursor Select object_name (ID) From sysobjects Where xtype = 'P' And type = 'P' And crdate

Details on calling external programs using Delphi

winexec mainly runs the EXE file. For example, winexec('notepad.exe readme.txt ', sw_show); ShellExecute can run not only EXE files, but also associated files. the shellapi. Pas unit: Uses shellapi must be referenced first. 1. Standard usageThe

How to create a child form for an MDI form without a primary form

We know that in Delphi, if an MDI form is not the main form, we cannot create any MDI child form. It is a pity, but it can still be solved. Kingron checked the VCLSource codeWhen creating a form, the system will check whether mainform is nil and

JS page scroll floating layer intelligent positioning (mootools) instance page

HtmlCode: Div Class = "Float" ID = "Float" > I am a shy floating layer... Div >   JS Code: VaR $ Smartfloat =   Function (Elements ){ VaR Position =   Function (Element ){ VaR Top = Element.

Datasnap Object pool

{ As mentioned earlier, the middle layer provides services by exposing methods to the client to read and update database data. The method of calling a method has the potential meaning that the intermediate layer does not save the client status

Usage of pointers in Delphi

I have been working on a project some time ago. I often use listview and usually put record into itemdata. At the beginning, I wrote all the conventional operations on listview into a DLL (including batch adding data, saving data, and loading data)

Compress and decompress olevariant

Uses zlibex   Procedure varianttostream (const V: olevariant; stream: tstream );VaRP: pointer;BeginStream. Position: = 0;Stream. Size: = vararrayhighbound (V, 1)-vararraylowbound (V, 1) + 1;P: = vararraylock (v );Stream. Write (P ^, stream. size

Import EXCEL to database

Procedure import (sourceds, destds: tadoquery );VaRSfilename, stablename: string;SL: tstringlist;I: integer;Conn: tadoconnection;Dialog: topendialog;BeginDialog: = topendialog. Create (application );If not dialog. Execute then exit;TrySfilename: =

Reasons for Memory leakage

A portion of the project has been delivered to the customer a few days ago, and few feedbacks are returned. The main problem is instability. During a casual check, it is found that memory leakage occurs. Memory leakage is fatal for Delphi, Because

Usage of pre-compiled commands in Delphi

InDelphiAndCSimilar pre-compiled commands, although these commands are only valid in a single file currently (it may also be because I have not fully understood the real usage of these commands ), however, this type of instruction is useful for

Rtti multi-language

Procedure tbaseform. setcontrolcaptions (container: twincontrol );VaRI: integer;Scaption, snewcaption, slanguage: string;T: trttitype;P: trttiproperty;BeginIf appconfig. Language = lgorigal thenExit;T: = trtticontext. Create. GetType (container.

Minimize the size of the custom window

Unit ubaseform; Interface UsesWindows, messages, sysutils, variants, classes, graphics, controls, forms,Dialogs; TypeTpoint = recordX: integer;Y: integer;End; Tminmaxinfo = recordPtreserved: tpoint;Ptmaxsize: tpoint;Ptmaxposition:

Use a temporary table to separate strings with special characters (such as commas)

1 declare @ menu_id varchar (250) 2 declare @ POS int 3 declare @ oldpos int 4 declare @ tempstr varchar (100) 5 6 7 create table # temp_id (id int) 8 9 set @ menu_id = '60, 62,63, 64' 10 set @ Pos = 1 11 set @ oldpos = 1 12 while @ POS 13 begin 14

Full-angle to half-angle in Delphi

Function sbctodbc (S: string): string; VaR Nlength, I: integer; STR, CTMP, C1, C2: string; { In Windows, both Chinese characters and full-byte characters occupy two bytes, ASCII Chart 2 (codes 128-255) is used ). The first byte of the fullwidth

Cluster Server Architecture

To achieve a connection, you can use the server-client connection mode. What should we do to achieve a * 100 connection? Generally, client> connserver> logicserver is used. This is the technical background. After accepting the connection from the

Adoconnection database connection pool

Unit adoconnectpool; Interface UsesClasses, windows, sysutils, ADODB, inifiles, forms; TypeTadoconnectionpool = Class (tobject)PrivateFobjlist: tthreadlist;Ftimeout: integer;Fmaxcount: integer;Fsemaphore: Cardinal;Function createnewinstance (list:

Total Pages: 64722 1 .... 54260 54261 54262 54263 54264 .... 64722 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.