text
stringlengths
14
6.51M
unit FrmAnalysisMap; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ComCtrls, U_POWER_ANALYSIS, U_WIRING_ERROR, U_POWER_LIST_INFO, U_WE_PHASE_MAP, U_WE_EQUATION, StdCtrls, U_DIAGRAM_TYPE, FrmErrorInfo; type TfAnalysisMap = class(TForm) ...
unit uFIFO_map; interface uses windows, sysutils, math, uMAP_File, uFIFO_async, uFIFO_rec, uMutex; type tFIFO_map=class(tFIFO_async) private data : pointer; map_data : tMapFile; map_fifo : tMapFile; mode_writer : boolean; function open(as_server : boolean; as_writer : boolean) : boolean; ...
{ +------------------------------------------------------------------------- } { Microsoft Windows } { Copyright (C) Microsoft Corporation. All Rights Reserved. } { File: exdispid.h } { -------------------------------------------------------------------------- } unit ExDispID; interface { Dispatch IDS for IExplor...
unit TestuConversao; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses TestFramework, System.Generics.Defaults, C...
// All this is based on data from Alazane and the WolfPack team. // http://uo.stratics.com/heptazane/fileformats.shtml // Thanks to Cheffe for pointing out bugs and giving tips. // - Deepgreen unit uotiles; interface uses classes, sysutils, uoclidata; const EnableTerMur = True; type TStaidx = record...
unit FmxInvalidateHack; interface uses Fmx.Types, Vcl.Controls; procedure InvalidateControl(aControl : TControl); implementation uses Contnrs; type TInvalidator = class private protected Timer : TTimer; List : TObjectList; procedure Step(Sender : TObject); public constructor Create; ...
(*!------------------------------------------------------------ * [[APP_NAME]] ([[APP_URL]]) * * @link [[APP_REPOSITORY_URL]] * @copyright Copyright (c) [[COPYRIGHT_YEAR]] [[COPYRIGHT_HOLDER]] * @license [[LICENSE_URL]] ([[LICENSE]]) *------------------------------------------------------------- *) unit Ho...
unit https; interface uses MSXML2_TLB, sysutils, variants, typex, commandprocessor, classes, debug, IdSSLOpenSSL, systemx, IdSSLOpenSSLHeaders; type THTTPResults = record ResultCode: ni; Body: string; Success: boolean; error: string; end; THttpsMethod = (mGet, mPost); Tcmd_HTTPS = class(TC...
unit BrickCamp.Model.TQuestion; interface uses Spring, Spring.Persistence.Mapping.Attributes, BrickCamp.Model.IProduct; type [Entity] [Table('QUESTION')] TQuestion = class private [Column('ID', [cpRequired, cpPrimaryKey, cpNotNull, cpDontInsert], 0, 0, 0, 'primary key')] [AutoGenerated] FId...
unit ClassSustava; interface uses Classes, Typy; type TBody = class public Pole : TList; function Pridaj( NovyBod : TBod ) : PBod; procedure Zmaz( CisloBodu : Word ); constructor Create; destructor Destroy; override; ...
{ ********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: ...
{ Minimum Spanning Tree Prim Algorithm O(N3) Input: G: UnDirected weighted graph (Infinity = No Edge) N: Number of vertices Output: Parent: Parent of each vertex in the MST, Parent[1] = 0 NoAnswer: Has no spanning trees (== Not connected) Reference: CLR, p509 By Ali } program MinimumSpanningTree;...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, parser1, Grids, StdCtrls, Buttons, ExtCtrls, math, ComCtrls; type TForm1 = class(TForm) tabla: TStringGrid; SaveDialog1: TSaveDialog; OpenDialog1: TOpenDialog; PageControl...
{ AD.A.P.T. Library Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved Original Source Location: https://github.com/LaKraven/ADAPT Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md } unit ADAPT.Comparers; {$I ADAPT.inc} interface uses {$IFDEF ADA...
unit Initializer.SMART; interface uses SysUtils, Global.LanguageString, Device.PhysicalDrive, Support; type TMainformSMARTApplier = class private ReadEraseError: TReadEraseError; procedure ApplyOnTime; procedure ApplyReadEraseError; procedure SetLabelByTrueReadErrorFalseEraseError( True...
unit VA508AccessibilityPE; interface uses Windows, SysUtils, DesignIntf, DesignEditors, DesignConst, TypInfo, Controls, StdCtrls, Classes, Forms, VA508AccessibilityManager, Dialogs, ColnEdit, RTLConsts, VA508AccessibilityManagerEditor; type TVA508AccessibilityManager4PE = class(TVA508AccessibilityManager); ...
{ Invokable interface IuUsersOfTravel } unit uUsersOfTravelIntf; interface uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns; type { Invokable interfaces must derive from IInvokable } IuUsersOfTravel = interface(IInvokable) ['{EB8E9708-46B0-4737-A1D7-D6C7ED5434C7}'] { Methods of Invo...
unit uGameDevices; interface uses KbdMacro, Windows, DirectInput, Messages, Classes; const WM_JOY_BUTTON_DOWN = WM_USER + 302; WM_JOY_BUTTON_UP = WM_USER + 303; type THIDJoystick = class (THIDKeyboard) private fButtonsCount: Integer; fRegisteredProcs: TStrings; fDIDevice: IDIRECTINPUTDEVI...
unit WiseDaq; interface uses Windows, Classes, SysUtils, cbw, Contnrs, WiseHardware; type TDaqId = word; // (Dir << 8 | ((Board << 6) | port)) = 9bits type TBoardInfo = record model: PChar; num: integer; ndaqs: integer; bitsPerDaq: array of integer; ...
{** Douglas Colombo * Classe de conversão de arquivos em texto * e de Texto em Arquivos, BASE64 **} unit UBase64; {$MODE Delphi} interface uses Classes, {$IfNDef FPC} jpeg, Winapi.Windows, Vcl.Graphics, System.netEncoding, System.SysUtils, FMX.Graphics {$else} sys...
{*******************************************************} { } { Borland Delphi Visual Component Library } { Master/Detail Field Links Editor } { } { Copyright (c) 1997-2001 Bo...
{********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: y.brovin...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC IBM DB2 metadata } { } { Copyright(c) 2004-2018 Embar...
unit TestBrickCamp.Repositories.Employee; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses System.JSON, TestFra...
unit uMainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, IniFiles, System.Generics.Collections, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Comp.Client, Vcl.StdCtrls, FireDAC.Stan.Option, uLogger, QBAes, Vcl.ExtCtrls, FireDAC.Phys.MSSQL,...
{----------------------------------------------------------------------------} { Written by Nguyen Le Quang Duy } { Nguyen Quang Dieu High School, An Giang } {----------------------------------------------------------------------------} ...
unit Unit1; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Menus, //GLS GLScene, GLHUDObjects, GLObjects, GLCadencer, GLWin32Viewer, GLWindowsFont, GLTeapot, GLCoordinates, GLCrossPlatform, GLBaseClasses, GLBitmapFont; ...
unit UProdutoVenda; interface uses UProduto; type ProdutoVenda = class(Produto) protected valorUnitario : Real; quantidade : Real; desconto : Real; qtdTemp : Real; public Constructor CrieObjeto; Destructor Destrua_Se; Procedure set...
unit uProcess; interface uses {$IF CompilerVersion > 22} Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, {$ELSE} Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCt...
{ Routines that manipulate queues of CAN frames. } module can_queue; define can_queue_init; define can_queue_release; define can_queue_ent_new; define can_queue_ent_del; define can_queue_ent_put; define can_queue_ent_get; define can_queue_ent_avail; define can_queue_put; define can_queue_get; %include 'can2.ins.pas'...
unit fPrintLocation; interface uses Windows, Messages, SysUtils, StrUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, fAutoSz, StdCtrls, ExtCtrls, ORCtrls,ORFn, rCore, uCore, oRNet, Math, fOrders, ORClasses, rOrders, fMeds, rMeds, CheckLst, Grids, fFrame, fClinicWardMeds, VA508AccessibilityManager...
unit UnLancarDebitoView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, DB, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, JvExStdCtrls, JvEdit, JvValidateEdit, { Fluente } Util, UnComandaModelo, SearchUtil, Pagamentos, UnTeclado; type TLancarDebitoView = class(TForm) Label1: T...
unit ProductCategoriesMemTable; interface uses FireDAC.Comp.Client, DSWrap, System.Classes, System.Generics.Collections; type TProductCategoriesW = class(TDSWrap) private FProductCategoryID: TFieldWrap; FCategory: TFieldWrap; FExternalID: TFieldWrap; FChecked: TFieldWrap; public construct...
unit bool_func_and_3; interface implementation function GetBool(Value: Boolean): Boolean; begin Result := Value; end; var B: Boolean = True; procedure Test; begin B := GetBool(True) and GetBool(False); end; initialization Test(); finalization Assert(not B); end.
unit App.IHandlerCore; interface uses Net.ConnectedClient, WebServer.HTTPConnectedClient, System.SysUtils; type IBaseHandler = interface procedure HandleReceiveTCPData(From: TConnectedClient; const ABytes: TBytes); procedure HandleReceiveHTTPData(From: TConnectedClient; const ABytes: TBytes); proc...
unit clsTUsuarioDAO; {$M+} {$TYPEINFO ON} interface uses System.SysUtils, System.Classes, clsTDBUtils, clsTUsuarioDTO; type TUsuarioDAO = class private FDBUtils: TDBUtils; function GetLastID: Integer; public constructor Create; destructor Destroy; override; pub...
{* ------------------------------------------------------------------------ * * Command Parttern ♥ TAsyncCommand * ------------------------------------------------------------------------ *} unit Pattern.AsyncCommand; interface uses System.Classes, System.SysUtils, System.TypInfo, System.Diagnostics, S...
unit SoccerTests.VotingRulePreferenceListTests; interface uses System.SysUtils, System.Generics.Collections, Soccer.Voting.Preferences, Soccer.Voting.RulePreferenceList, Soccer.Voting.AbstractRule, DUnitX.TestFramework; type [TestFixture] TVotingRulePreferenceListTests = class(TObject) public ...
(* * Copyright(c) 2019 Embarcadero Technologies, Inc. * * This code was generated by the TaskGen tool from file * "CLANGTask.xml" * Version: 26.0.0.0 * Runtime Version: v4.0.30319 * Changes to this file may cause incorrect behavior and will be * overwritten when the code is regenerated. *) unit CLANGStrs; ...
unit ncSerializeValue; interface uses Rtti; implementation var RttiContext: TRttiContext; { Value ToBytes: if Data.IsEmpty then WriteString('nil') else begin // Write Data (TncValue) string name WriteString(RttiContext.GetType(Data.TypeInfo).QualifiedName); ...
{ Copyright (C) 1998-2018, written by Shkolnik Mike, Scalabium Software E-Mail: mshkolnik@scalabium.com mshkolnik@yahoo.com WEB: http://www.scalabium.com } unit FileNotify; interface {$I SMVersion.inc} uses Windows, SysUtils, Classes; type EFileNotificationError = class(Exception)...
unit Hash_MD; {$I TinyDB.INC} interface uses Classes, HashBase; type THash_MD4 = class(THash) protected FCount: LongWord; FBuffer: array[0..63] of Byte; FDigest: array[0..9] of LongWord; protected class function TestVector: Pointer; override; procedure Transform(Buffer: PIntArray); virtual...
{ ID:asiapea1 PROB:subset LANG:PASCAL } program subset; const MaxN=39; maxint=Maxn*(Maxn+1) div 2; var g:array[0..39,-maxn..maxint]of int64; t,n:longint; procedure Out; begin writeln(0);close(output);halt; end; procedure Init; begin assign(input,'subset.in');reset...
namespace RemObjects.Elements.System; uses Foundation; type NSString_Extension = public extension class(NSString) public property Item[i: Integer]: Char read self.characterAtIndex(i); default; property Item[i: &Index]: Char read self.characterAtIndex(i.GetOffset(length)); default; property Item[r:...
{=============================================================================== 异常处理单元 ===============================================================================} unit xExceptionCatch; interface uses System.Classes, System.SysUtils, Winapi.Windows; type /// <summary> /// 信息类型 /// </summ...
unit array_dynamic_const_1; interface implementation var Len: Int32; procedure PutLen(const A: array of int32); begin Len := Length(A); end; procedure Test; begin PutLen([1, 2, 3, 4, 5]); end; initialization Test(); finalization Assert(Len = 5); end.
{*******************************************************} { } { Midas RemoteDataModule Pooler Demo } { } {*******************************************************} unit SrvrDM; { This is the...
{------------------------------------------------------------------------------- // Authentication Demo // // Description: Three Handlers to Know, They Are (In Order): // ApacheOnAccessChecker......Access Control // ApacheOnCheckUserId........Authentication {This Demo} // Ap...
unit MatomoSdkLib; interface uses System.SysUtils, System.Classes, HttpClientWrapperLib; type TMatomoEvent = record category: String; action: String; name: String; value: Double; function ToParams: TStrings; end; TMatomo = class(TObject) private FMatomoUrl: String; FSiteId: Str...
unit htmlCodec; interface function htmlDecodeStr(S: String): String; implementation type Thtmlcode = record fHtml : String; fString : String; end; const htmlCodes : array[0..3] of ThtmlCode = ( (fHtml : '&amp;'; fString : '&'), (fHtml : '&lt;'; fString : '<'), (fHtml : '&gt;'; fString :...
unit UFunctionsGHH; interface Uses ZConnection, Classes, ZDataSet, SysUtils,DB,StdCtrls, Variants, Windows,global, frm_connection,utilerias, Controls,Jpeg,Graphics,ExtCtrls,Clipbrd,ShellApi,Messages,Dialogs,axctrls; type IData=class Private Public IdDb:Integer; sNameFile:String; sTy...
Program clase5; Type encomienda = record codigo: integer; peso: integer; end; // Lista de encomiendas lista = ^nodoL; nodoL = record dato: encomienda; sig: lista; end; listaCodigos=^nodoC; nodoC=record dato: integer; sig: listaCodigos...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit class_members_3; interface implementation uses system; type TC1 = class FData: Int32; end; TC2 = class FC: TC1; function GetFC: TC1; end; TC3 = class FC: TC2; constructor Create; end; function TC2.GetFC: TC1; begin Result := FC; end; constructor TC3.Create; be...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TfrmColor } TfrmColor = class(TForm) btnChangeColor: TButton; procedure btnChangeColorClick(Sender: TObject); private { private declarations } public { public ...
{ Important Note: Before running this AutoDemo application, make sure that the MemoEdit application has been registered using a "MemoEdit /regserver" command line. } unit AutoForm; interface uses Variants, Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Memo_TLB; typ...
unit uMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ImgList, ImageList, ExtCtrls, StdCtrls, Buttons, ShellApi, FolderDialog, uUtil, uSnortChecker; const PB_MAX_LENGTH = 10240; PB_MIN_LENGTH = 10240; type TFMain = class(TForm) pnMain: TPanel; ...
unit uProduct; {$mode objfpc}{$H+} interface uses SynCommons, mORMot, uForwardDeclaration; type // 1 产品目录 TSQLProdCatalog = class(TSQLRecord) private fCatalogName: RawUTF8; //使用快速增加 fUseQuickAdd: Boolean; //样式表 fStyleSheet: RawUTF8; //头logo fHeaderLogo: RawUTF8; ...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC format options editing frame } { } { Copyright(c) 2004-2018 Embar...
unit UAndroidTools; interface uses System.Messaging, AndroidAPI.Helpers, AndroidAPI.Jni.Os, AndroidAPI.Jni.GraphicsContentViewText, AndroidAPI.Jni.Net, FMX.Platform.Android, AndroidAPI.JNIBridge, AndroidAPI.Jni.JavaTypes, AndroidAPI.Jni.App; type TContentEnum = (ctVideo, ctImages, ctAudio, ctText...
unit ncPRConsts; { ResourceString: Dario 13/03/13 } interface uses messages; function PRFolder(status: char): String; Const prfolder_preview = #0; prfolder_backup = #1; WM_PR_NEWDOC = WM_APP + 1; WM_PR_EXTRACTIMG_START = WM_APP + 2; WM_PR_EXTRACTIMG_PROGRESS = ...
unit FIToolkit.Commons.Utils; interface uses System.SysUtils, System.IOUtils, System.TypInfo, System.Rtti, System.Generics.Defaults, FIToolkit.Commons.Types; type TIff = record public class function Get<T>(Condition : Boolean; const TruePart, FalsePart : T) : T; static; inline; end; TObjectPro...
unit LLVM.Imports.Comdat; //based on Comdat.h {$MINENUMSIZE 4} interface uses LLVM.Imports , LLVM.Imports.Types; type TLLVMComdatSelectionKind = ( LLVMAnyComdatSelectionKind, ///< The linker may choose any COMDAT. LLVMExactMatchComdatSelectionKind, ///< The data referenced by the COMDA...
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose...
{$mode objfpc} program Exam; uses Queue; type QofChars = specialize Queue.TQueueSingle<char>; var sInput : string; var bKeepGoing : boolean; var q : QofChars; var i : integer; var ch : char; var qCount : integer; begin bKeepGoing := true; sInput := ''; WriteLn('Creating the queue.'); q := QofChars.Cr...
unit uSQLFormat_Oracle; interface {$I iGlobalConfig.pas} uses uSQLFormat_a, uSQLFormat_c, uAbstractProcessor, uDFDCl, Db; type TSQLFormat_Oracle = class(TSQLFormat_c) public function getVal(AField: TAbstractDataRow; AIdx: integer): string; override; function getEqOp(AMetaField: TMetaField): s...
{ GMMapVCL unit ES: incluye el componente para usar el mapa de Google Maps EN: includes the component to use the Google Maps map ========================================================================= History: ver 1.3.0 ES: nuevo: nueva función GetIEVersion en la clase TGMMap EN: new: new function ...
unit xQuestionAction; interface uses xDBActionBase, xQuestionInfo, System.Classes, System.SysUtils, xFunction, FireDAC.Stan.Param; type TQuestionAction = class(TDBActionBase) public /// <summary> /// 获取最大编号 /// </summary> function GetMaxSN : Integer; /// <summary> ///...
unit std_system; interface implementation function LoByte(Value: UInt16): UInt8; begin Result := Value and $FF; end; function HiByte(Value: UInt16): UInt8; begin Result := Value shr 8; end; function LoWord(Value: UInt32): UInt16; begin Result := Value and $FFFF; end; function HiWord(Value: UInt32): UInt16...
unit uPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, Vcl.ComCtrls; type TfPrincipal = class(TForm) PageControl1: TPageControl; ...
{ } { Unicode string functions v3.07 } { } { This unit is copyright © 2002-2004 by David J Butler ...
{***************************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 2000-2001 Borland Software Corporation...
unit FTools; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms; const //ARQ_CORES = 'Cores.ini'; //DIR_SIMBOLOS = 'Simbolos'; ARQ_CONFIG = 'LemhapCards.ini'; ARQ_UPLOADER = 'Uploader.ini'; ARQ_TIPOS = 'Tipos.ini'; DIR_IMAGENS = 'Imagens'; DIR_DA...
unit UnPerfCounter; interface uses windows, SysUtils; type {: Um contador de alta performance, utilizado para realizar medições de tempo/velocidade. } TPerformanceCounter = class(TObject) private startTick, endTick, freq: int64; countExecs: integer; accum: in...
unit TransportWS; {$mode delphi}{$H+} {$I vrode.inc} interface uses Classes, SysUtils, vr_transport, vr_utils, WebSocket2, CustomServer2; type TWebSocketConnectionDataNotSync = function(ASender: TWebSocketCustomConnection; ACode: Integer; AData: TMemoryStream): Boolean of object; { TNotSync...
unit uFeaCosmetic; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, StdCtrls, Math, jpeg, uObjectFeature, Buttons, Vcl.Imaging.pngimage; type TfFeaCosmetic = class(TForm) Panel1: TPanel; PgCtrl: TPageControl; tabCirc: TTabSheet...
unit Comp_UGraphics; interface uses Controls, Types, Windows, Messages, Graphics, Classes, Comp_UTypes; procedure EraseBackground(Control: TCustomControl; Canvas: TCanvas); function RectInRect(Container, Target: TRect): Boolean; procedure AlphaBlend(Canvas: TCanvas; Bitmap: TBitmap; const X, Y: Integer); procedu...
unit frmUserInformationU; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, IBServices, StdCtrls, ActnList; type TfrmUserInformation = class(TForm) GroupBox1: TGroupBox; GroupBox2: TGroupBox; Label1: TLabel; Label2: TLabel; Label3: TLabel; edtConfi...
unit ExceptionsFormUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, MTLogger, MTUtils; type TMyThread = class(TThread) private LastErrTime: TDateTime; LastErrMsg: string; LastErrClass: string; procedure AddExceptionToGUI; ...
unit uMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox, FMX.Memo, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, Androidapi.JNI.GraphicsContentViewText, System.Messaging; ...
{ --------------------------------------------------------------- 功能:网络通信类 描述:负责与服务器端交互 版权所有 (C) 2012 神州易桥 作者:李良波 创建时间:2012-06-14 ---------------------------------------------------------------- } unit HttpsUtil; interface uses SysUtils, Classes, IdBaseComponent, IdHTTP; type THttpsU...
unit Unit3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, StdCtrls, Mask, DBCtrls, Buttons; type TForm3 = class(TForm) DBGrid1: TDBGrid; btnCadastrar: TButton; GroupBox1: TGroupBox; Label1: TLabel; txtRamal: TDBEdit; L...
unit Optimizer.LastAccess; interface uses SysUtils, OS.EnvironmentVariable, Optimizer.Template, Global.LanguageString, OS.ProcessOpener; type TLastAccessOptimizer = class(TOptimizationUnit) public function IsOptional: Boolean; override; function IsCompatible: Boolean; override; function IsAppli...
unit DragDropHandler; // ----------------------------------------------------------------------------- // Project: Drag and Drop Component Suite. // Module: DragDropHandler // Description: Implements Drop and Drop Context Menu Shell Extenxions // (a.k.a. drag-and-drop handle...
unit uSaveK08Thread; interface uses System.Classes, uGlobal, uEntity, Generics.Collections, uHik, SysUtils, uCommon, IDURI; type TSaveK08Thread = class(TThread) private procedure SaveToK08(imgs: TList<TImageInfo>); procedure ClearImages(imgs: TList<TImageInfo>); protected procedure Execute; ove...
unit uFormMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton; procedure Button1Click(Sender: TObject); priv...
unit SHA256; {SHA256 - 256 bit Secure Hash Function} interface (************************************************************************* DESCRIPTION : SHA256 - 256 bit Secure Hash Function REQUIREMENTS : TP5-7, D1-D7/D9-D10/D12/D17-D18/D25S, FPC, VP EXTERNAL DATA : --- MEMORY USA...
unit Rx; interface uses SysUtils, Generics.Collections, Generics.Defaults; type TimeUnit = ( MILLISECONDS = 0, SECONDS = 1, MINUTES = 2 ); IAction = interface procedure Emit; end; IScheduler = interface procedure Invoke(Action: IAction); end; StdSchedulers ...
{ Copyright (C) 1998-2018, written by Mike Shkolnik, Scalabium Software E-Mail: mshkolnik@scalabium.com mshkolnik@yahoo.com WEB: http://www.scalabium.com } unit SMCVersInfo; interface uses Classes; const VI_MAJOR_VERSION = 1; VI_MINOR_VERSION = 2; VI_RELEASE = 3; VI_BUILD...
Program HashChaining; CONST MAX = 100; TYPE NodePtr = ^Node; Node = record val: string; del: boolean; end; HashTable = array [0..MAX - 1] OF NodePtr; FUNCTION NewNode(val: string): NodePtr; var n: NodePtr; BEGIN New(n); n^.val := val; n^.del := false; ...
unit ColInfo; interface uses DSWrap; type TColInfo = class(TObject) private FBandCaption: String; FBandIndex: Integer; FFieldWrap: TFieldWrap; public constructor Create(AFieldWrap: TFieldWrap; ABandIndex: Integer; ABandCaption: String = ''); property BandCaption: String read FBandCa...
unit Unit2; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Windows, Process, registry; type NomeRedeSenha = Record Nomerede : String; Senha: String; End; Function ExecutarWindows(Executavel: String; Parametros: String): boolean; Function Execomando(Comando: String): String; function GetEnvVarV...
unit ConnectDialog; interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Classes, Graphics, Controls, Forms, Dialogs, DBCtrls, ExtCtrls, Grids, DBGrids, StdCtrls, ToolWin, ComCtrls, Buttons, UniDacVcl, {$IFDEF FPC} LResources, {$ENDIF} DB, DBAccess, Uni, UniDacDemoForm, DemoFrame, InheritedC...
unit FormFolderSelect; (* FormFolderSelect.pas -------------------- Begin: 2007/02/02 Last revision: $Date: 2009-09-08 21:49:25 $ $Author: areeves $ Version number: $Revision: 1.2 $ Project: APHI General Purpose Delphi Library Website: http://www.naadsm.org/opensource/delphi Author: Aaron Reeves <aaron.reeves@naadsm.o...
unit fcaes256; (************************************************************************* DESCRIPTION : File crypt/authenticate unit using AES256 REQUIREMENTS : TP5-7, D1-D7/D9-D10, FPC, VP EXTERNAL DATA : --- MEMORY USAGE : --- DISPLAY MODE : --- REFERENCES : (htt...
unit ucardworker; {$mode objfpc}{$H+} interface uses Classes, SysUtils, uconfig, umsrworker; type { TCardWorker } TConnectState = (csNoConn = 0, csConnected = 1, csErrorConn = 2); TCardWorker = class private FMsrWorker: TMsrWorker; FState: TConnectState; FStatusByte: byte; public proce...
unit SelectServerAlias; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.StrUtils, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Data.DB, Global, GlobalVars, JvExComCtrls, JvListView, nxtwWinsockTransport, nxtmSharedMemoryTra...
unit DAOTest; interface uses DataAccessObjects, LTClasses, Generics.Collections; type TDAOTest = class(TDAOBase) private function SelectListening(TestIndex: Integer): TObjectList<TListening>; function SelectSpeaking(TestIndex: integer) : TObjectList<TSpeaking>; function SelectReading(TestIndex:...
unit osReportUtils; interface uses Classes, acCustomSQLMainDataUn, osSQLDataSet, SysUtils, DB, ppReport, daDataModule, daQueryDataView, ppTypes,daIDE, daDBExpress, ppCTDsgn, raIDE, myChkBox, ppModule, FMTBcd, osCustomDataSetProvider, SqlExpr, osSQLDataSetProvider, daSQl, osSQLQuery, osComboFilter, ppDB...
object WebModule2: TWebModule2 OldCreateOrder = False Actions = < item Default = True Name = 'WebActionItem1' PathInfo = '/List' Producer = PageProducerSelect end item Name = 'WebActionItem2' PathInfo = '/Clean' OnAction = CleanAction end item Name...