text
stringlengths
14
6.51M
unit MilandrRev8.MMStartTest; interface uses AbstractStpMethod, MilandrRev8.Stp8TestThread, MilandrRev8.DboBase; type TMilRev8StartTest = class(TAbstractStpMethod) protected function ThreadClass : TStpThreadClass;override; public function ModuleName : string; override; function ReadyToStart:Bo...
{ License: Copyright (c) 2004 Dan Scott All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
unit mobi_graph; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, filter_rbj, math, eeg_type; type Toscilloscope = Class(TObject) // This is an actual class definition : // Internal class field definitions - only accessible in this ...
{ Utilitário de exemplo para uso do componente TecnoSpeed NFe para integração com o sistema de Notas Fiscais Eletrônicas da Receita Federal, em conjunto com as Secretarias de Fazenda estaduais. @bold(Site oficial) @br http://www.tecnospeed.com.br @author(TecnoSpeed - Consultoria em TI (http://www.tecnospeed.com.br))...
unit FrmEditName; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Xc12Utils5, Xc12DataWorkbook5, XLSUtils5, XLSNames5, XLSSheetData5, XLSReadWriteII5; type TfrmName = class(TForm) btnCancel...
unit uShellFunction; // interface uses classes,shlobj,comobj,activex; type TItemListArray = array of PItemIDList; function GetShellItems(Folder: IShellFolder): TItemListArray; function GetShellObjectName(Folder: IShellFolder; ItemList: PItemIDList): string; procedure EnumShellNamespace(Strings: TStri...
unit XPreview; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, Printers, XPrintData; type TPreviewStyle = (psFitIn, psWidthFit, psOneOnOne); TFormXPreview = class(TForm) Panel1: TPanel; SpeedButtonFit: TSpeedButton; SpeedBu...
unit WaveMaker; interface uses Windows, SysUtils,Classes,MMSystem; type TWaveMaker = class(TObject) private TargetPid: DWORD; //目标Pid TargetHWaveOut : Integer; //目标设备句柄 OutPutPath: string; //输出地址 无后缀 StartTime: TDateTime; //记录开始写数据的...
unit fPatientEd; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fPCEBase, StdCtrls, ORCtrls, CheckLst, ExtCtrls, Buttons, uPCE, rPCE, ORFn, fPCELex, fPCEOther, ComCtrls, fPCEBaseMain, VA508AccessibilityManager; type TfrmPatientEd = class(TfrmPCEBaseMain) lblUnder...
unit DW.SpeechRecognition; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
unit Singleton_Factory; interface uses Vcl.StdCtrls; type ISingletonF = interface ['{5182E010-121F-4CD9-85EB-4F31D34354F2}'] procedure Log(logTarget: TListBox; const msg: string); end; function SingletonF: ISingletonF; implementation uses System.SysUtils; type TSingletonF = class(TInterfacedObject,...
unit aiddbLkpAssm; { aiddbLkpAssm BOMs Lookup component see also crdbCal } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, db, crdbEdit, crdbEd, crBtn, IB_Components; type TvalAssmDef = record ItemNo : string; ItemType : string;...
unit mActnListHelper; interface uses System.Classes, System.SysUtils, Vcl.ActnList ; type TActionHelper = class helper for TAction function ReaderableString: String; end; implementation uses mConsts ; { TActionHelper } function TActionHelper.ReaderableString: String; var ...
{ Error handling. } module util_err; define util_mem_context_err; define util_mem_grab_err; %include 'util2.ins.pas'; { ******************************************************************************** * * Function UTIL_MEM_CONTEXT_ERR (MEM_P, STAT) * * Check for error getting a new memory context, and set STAT ac...
unit LoyalStore; interface uses Loyals,Dialogs, SysUtils, enLoyalty; type TLoyalsType = (ReduceReduce2 = 10 , ReduceFixed2 = 11, FixedReduce2 = 12, FixedFixed2 = 13, FreeDays2 = 15); type TLoyalDescription = class(TObject) private key: TLoyalsType; content: ILoyal; public procedure se...
unit uMainForm; interface uses Winapi.Windows, Winapi.Messages, Winapi.ShellAPI, System.Math, System.IniFiles, System.SysUtils, System.StrUtils, System.Classes, System.IOUtils, System.Types, System.Diagnostics, System.Generics.Collections, Vcl.Controls, Vcl.WinXCtrls, Vcl.Forms, Vcl.ExtCtrls, Vcl.ComCtrls,...
unit mLog.osx; interface uses mLogX, {$IFDEF MACOS} Macapi.ObjectiveC, Macapi.Helpers, Macapi.Foundation, FMX.Platform , {$ENDIF} System.SysUtils, System.Classes, System.Rtti ; type TOSXLogger = class(TLogger) private protected procedure Write(const AValue: String); over...
unit ShortKeyDataMgrImpl; //////////////////////////////////////////////////////////////////////////////// // // Description£º ShortKeyDataMgr Implementation // Author£º lksoulman // Date£º 2017-11-22 // Comments£º // //////////////////////////////////////////////////////////////////////////////// interfa...
unit GenericRDTPClient; {$INCLUDE DelphiDefs.inc} //SERVER SCENARIOS //--SYSTEM THREAD is waiting for USER ACTIONS to complete and connection times out - receive AV {$IFDEF MSWINDOWS} {x$DEFINE USE_WINSOCK} {$ENDIF} {$DEFINE ALLOW_TCP} {x$DEFINE ALLOW_UDP} {x$ENDIF} {$DEFINE ENABLE_RDTP_COMPRESSION} {x$DEFINE ALLO...
unit DW.SpeechRecognition.Cocoa; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
unit mRecordUtils; interface uses System.SysUtils, System.Classes ; type TRecordIndexer = class private function GetAssigned: Boolean; function GetBufferLength: Int64; protected const BIT_CNT = 8; protected FBuffer: TBytes; procedure DoAfterAssignBuffer; virtual; ...
unit u_detail_liste; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls; type { Tf_detail_liste } Tf_detail_liste = class(TForm) btn_retour: TButton; btn_valider: TButton; btn_annuler: TButton; cbo_genre: TComboBox; cbo_filiere: T...
unit ItemOptions; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, VirtualTrees, Buttons, ExtCtrls, ComCtrls; type TfrmItemOptions = class(TForm) edtName: TEdit; vdtData: TVirtualDrawTree; edtItemID: TEdit; lblItemID: TLabel; edtIt...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,Project1_TLB; type TForm1 = class(TForm) Button1: TButton; Edit1: TEdit; Label1: TLabel; Button2: TButton; Label2: TLabel; Edit2: TEdit; Memo1: TMemo; procedur...
unit Customer.Interfaces; interface type ICustomer = interface ['{A736226E-B177-4E3A-9CCD-39AE71FB4E1B}'] function GetAddress: string; function GetEmail: string; function GetName: string; procedure SetAddress(const value: string); procedure SetEmail(const value: string); procedure SetName(co...
unit eagle; uses graphABC; type TDirection = (LEFT, RIGHT, UP, DOWN); TEagle = class private x, y: integer; p: picture; direction: TDirection; public constructor Create (x0, y0: integer); procedure setDirection (dir: TDirection); procedure Show; p...
unit UnitFilesTools; interface uses SysUtils, Contnrs; type TFile = class; TDirectory = class private aDirFullName: String; fFiles: TObjectList; function getDirFullName: string; function GetterFile(Index: integer): TFile; public Property File_[Index : integer] : TFile read...
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Tabs, XLSGrid5, XLSReadWriteII5, Grids, FormSelectArea, XLSRelCells5, XLSPivotTables5, FormPivotTable, XLSSheetData5; type TfrmMain = class(TForm) Panel1: TPanel; Button1:...
program stage1 (input, output); { | Image Processing : Ping Pong Playing Robot | Function : This program detects a ping pong ball in a digitized image | Written by : Michael Papasimeon (User name: michp) | Date : 23 May 1993 | Written for : Project C of Engineering Computing 121 | Level : Stage 1 | Tutor : Le...
unit TcpFileClient; interface uses Classes, SysUtils, Forms, Windows, ProtocolUnit, TcpIndexUnit, Contnrs, SyncObjs, IdTCPClient, IdGlobal, Math, TntClasses, TntSystem, TntSysUtils, TntWindows,{, JclUnicode} RestoreUnit ; type TTcpCopyEvent = procedure(A...
//---------------------------------------- // // Copyright © ying32. All Rights Reserved. // // Licensed under Apache License 2.0 // //---------------------------------------- ///======================================================= /// 功能:图像状态按钮 /// /// 注: 一般使推荐使用png图片,当然jpg、bmp也是可以的。 /// 一张png图的排序为 Normal, ...
(* ------------------------------------------------------------------------------------ -- Fichier : UnitParam.pas -- Auteur : Charlie Meyer / Marco Espiot / Guillaume Proton -- Date de creation : 22 Mai 2018 -- -- But : Parametrage de la partie de Qwirkle -- Remarques : Aucu...
unit DW.SpeechRecognition.Default; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library...
unit mvw.vform; interface uses FMX.Forms, FMX.Types, System.Classes, System.SysUtils, System.Rtti, System.Generics.Collections ; type TEnumCtrlNameProc<T: class> = reference to procedure(const ACtrl: T; const ACtrlName: String); TEnumCtrlNameProc = reference to procedure(const ACtrl: TFmxOb...
unit mbPluginManager; interface uses WinApi.Windows, System.Classes, System.SysUtils, DeviceModule, mbPluginManagerInterface; type TMBPluginInfo = packed record iModule: HMODULE; ModuleClass : TDeviceModuleClass; ID, Version : Word; end; pMBPluginInfo = ^TMBPluginInfo; TMBPM = class abstra...
(* * interface part for UnARJ.DLL v1.0 * * written by Alexander Sakhatovsky, * sakhatovsky@yandex.ru * * Specail thanks to Eugene Roshal (http://www.rarsoft.com/) * for his UNRAR.DLL *) unit UnArjDLL; interface uses Windows; {$I unarj.inc} (* Genral use: * * if ARJOpenArchive(ArchiveFileName, Ar...
{=============================================================================== RzButtonEditor Unit Raize Components - Design Editor Source Unit Copyright © 1995-2015 by Raize Software, Inc. All Rights Reserved. Design Editors -----------------------------------------------------------------------------...
unit Parser; interface uses System.SysUtils; function TimeToStr(TimeSec: Integer): String; function FieldToStr(Cols, Rows: Integer): String; function CompareStrings(Str1, Str2: String): Boolean; implementation function TimeToStr(TimeSec: Integer): String; var Minutes: Integer; Seconds: Integer; Strmin: str...
{******************************************************************************* 作者: dmzn@163.com 2019-04-24 描述: 基于PLC的继电器控制器 备注: *.设计标准: 1,24路开关量输入。 2,16路开合继电器输出。 3,一路485输出。 4,TCP Server模式通讯。 *.通讯协议格式: 起始帧---|---功能码---|---数据长度---|---数据---|---校验位 3字节 1字节 1字节 ...
unit uFrmRelEquip; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, System.Actions, Vcl.ActnList, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, Fir...
unit U_Version; interface const C_Major=4; C_Minor=0; C_Release=0; C_Revision=30022; C_Date=42713.4823032986; C_DB_Revision=5929; implementation end.
// *************************************************************************************************** // // Unit Vcl.Styles.Utils.SysControls // unit for the VCL Styles Utils // https://github.com/RRUZ/vcl-styles-utils/ // // The contents of this file are subject to the Mozilla Public License Version 1.1 (the "L...
unit Lemonade.Control.Components; interface uses Vcl.Controls, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.DBCtrls, Data.DB; type TControlComponents = class public class procedure ChangeStateParentsControls(const pControl : TWinControl; State : Boolean); class procedure ClearParentsControls(const pControl : TWinCo...
unit Lemonade.Funcoes.Globais; interface uses System.SysUtils, Winapi.Windows, Vcl.Forms, IdHashMessageDigest, System.Classes, Winapi.WinInet, Lemonade.Helpers.StringHelper; function ValidaCNPJ(CNPJ : string) : Boolean; function ValidaCPF(CPF : string) : Boolean; function ValidaIE(IE, UF : string) : Boolean;...
unit FormFadeToBlack; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, numbers, geometry, tickcount, typex; const FADE_TIME = 2000; type TfrmFadeToBlack = class(TForm) private { Private declarations } ...
unit exceptions; interface uses machine, debugger; type TExceptionType = (etNone, etUndefined, etDivisionByZero, etGeneralError, etPageFault); TExceptionHandler = class(TInterruptHandler) protected function GetExceptionType: TExceptionType; virtual; function GetExceptionDescription: pchar; virtual; end; ...
unit frmCD078G0U; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, cxStyles, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinCaramel, dxSkinCoffee, dxSkinsDefaultPainters, dxSkinscxPCPainter, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxE...
unit WriteHUF_Unit; interface uses Sysutils, Classes, Forms, Grids, DataGrid, ANEPIE, WriteModflowDiscretization, WriteBCF_Unit, WriteModflowZonesUnit, WriteMultiplierUnit, WriteLakesUnit, WriteReservoirUnit, ProgressUnit, ModflowUnit; type THUF_Writer = class(TFlowWriter) private WettingIsActive : boole...
unit ThreadPoolUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TForm3 = class(TForm) PaintBox1: TPaintBox; Button1: TButton; ListBox1: TListBox; procedure Button1Click(Sender: TObject); private type TW...
unit udatadumper; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DateUtils, StrUtils; type { TDataDumper } TDataDumper = class private FCurrentFileName: string; FOldDate: TDateTime; FNewDate: TDateTime; public constructor Create; destructor Destroy; override; procedure Dum...
unit AddrDlg; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, DBCtrls, AzCustomAddress, AzIBAddress, ExtCtrls, Buttons, UnitFrameAddress,UnitProc,cxEdit,cxGridTableView,Core, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, c...
(**************************************************************************) (* This file contains the defined names for all the registers that *) (* can be read/written by REG_Level_Read and REG_Level_Write. The *) (* following information is provided for each register. *) (* ...
unit frameBuscaTabelaPreco; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Mask, RxToolEdit, RxCurrEdit, ObjetoGenerico; type TBuscaTabelaPreco = class(TFrame) StaticText1: TStaticText; edtCodigo: TCurrencyEdit; btnBusca: TBitB...
unit uDMPrincipal; interface uses System.SysUtils, System.Classes, uPosto, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLUI.Wait, FireDAC.Comp.Client, Data.DB, FireDAC.Phys.FB, ...
unit DB_Nexus; interface uses Classes, AbstractDB, DB, nxdb, nxllTransport, nxptBasePooledTransport, nxtwWinsockTransport, nxllComponent, nxsdServerEngine, nxreRemoteServerEngine; type TNexus2DM = class (TAbstractDM,IAbstractDataBase) private { Private declarations } FServer: TnxR...
unit InterfaceConstParmetersAndPrematureFreeingTestCaseUnit; interface uses TestFrameWork, InterfaceConstParmetersBaseTestCaseUnit; type TInterfaceConstParmetersAndPrematureFreeingTestCase = class(TInterfaceConstParmetersBaseTestCaseUnit) strict protected procedure NoPrematureFree(Reference: IInt...
unit UT_ThreadingAdvanced; interface uses unittest, systemx, System.SyncObjs, managedthread, sysutils, tickcount, signals; type TThread_WaitsForSignal= class(TManagedThread) protected waitingon: TEvent; public ut: TUnitTest; result : string; DelayAfterReceivingSignal: ticker; procedure Do...
unit SMS_DateTimes; interface uses SysUtils, Math, Windows, DateUtils; const MININUTES_INADAY = 1440; SUN_DAY = 1; MON_DAY = 2; TUE_DAY = 3; WED_DAY = 4; THU_DAY = 5; FRI_DAY = 6; SAT_DAY = 7; ONE_SECOND = 1/(24*3600); ONE_HOUR = 1/24; type TDateMin = record //Date : Integer; //date ...
{***********UNITE************************************************* Auteur ...... : Créé le ...... : 09/08/2006 Modifié le ... : / / Description .. : Source TOM de la TABLE : DPDTPROCESS (DPDTPROCESS) Mots clefs ... : TOM;DPDTPROCESS *****************************************************************} Unit dpTOM_DPDtP...
unit PtCnsPrdDataFiltro; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CnsFiltroBs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, ImgList, StdCtrls, cxButtons, dxBevel, cxControls, cxContainer, cxEdit, ComCtrls, dxCore, cxDateUtils, cxLabel, c...
unit CgLight; { CgLib: Lighting class. Version 1.00 (c) 1998-2000 Tom Nuydens. Use at your own risk. See cglib.txt for details. } interface uses CgTypes, GL; type TCGLight = class(TObject) // OpenGL light source. private FIndex: GLenum; FAmbient: TCGColorF; FDiffuse: TCGColorF; FSpecu...
unit cbParseThread; interface uses Windows, Messages, SysUtils, Variants, Classes, DateUtils, ActiveX, Math, cbClass, cbAppClass, cbParseController; type TParseThread = class(TMessageQueueThread) private { Private declarations } FLastExecute: TDateTime; FLastChangeDetect: TDateTime; FLastDbEr...
unit fExam; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fPCEBase, StdCtrls, ORCtrls, CheckLst, ExtCtrls, Buttons, uPCE, rPCE, ORFn, fPCELex, fPCEOther, ComCtrls, fPCEBaseMain, VA508AccessibilityManager; type TfrmExams = class(TfrmPCEBaseMain) lblExamResults: T...
unit UMultiEPGFrame; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMXTee.Chart, FMXTee.Series.Gantt; type TMultiEPGFrame = class(TFrame) MultiEPGTopToolBar: TToolBar; Multi...
(* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
program lab_7_rec; procedure Rec(c: char; var flag: Boolean); begin read(c); if c <> '.' then begin if (c in ['0'..'9']) then begin flag := true; write(c); Rec(c, flag); write(c); end else Rec(c, flag); end else begi...
program stage2 (input, output); { Stage 2 of Project A for Engineering Computing 121 By Michael Papasimeon - 26/3/93 - Science/Engineering } const lastval = -1; var x : real; { Judges mark } n : integer; { Contestant number } num : integer; { Number of scores/judges } sum, average : ...
unit Visualizer; //ix80 Intel 8080 CPU Emulator & Demonstration Model //Модуль визуализации interface uses FormScheme, FormMemory, Instructions, Common, Typelib, Classes, StdCtrls, ExtCtrls, Graphics, SysUtils; type TVisualizer = class private VisLevel: Byte; ...
unit Vodopad.Math; interface uses System.SysUtils; function BytesToHexStr(const bytes: TBytes): string; overload; function BytesToHexStr(const bytes: Array of byte): string; overload; function BytesToHexStr(const Buffer; Count : Word): string; overload; function FixedTrunc(AValue : Double):integer; (*function GetB...
unit rec2json; interface uses betterobject, debug, typinfo, systemx, typex, system.rtti, stringx, jsonhelpers, sysutils, variants; type TThreeByteArray = array[0..2] of byte; TRec = record public sh: string; fu: double; da: array of byte; sa: TThreeByteArray; end; TTestBox = class private...
unit uFTecProcesso; interface uses SysUtils, CmObjNegocio, CmConexaoBcoDados; type TFichaTecProcesso = class(TObjetoNegocio) private FCodPtk : String; FVariante : String; FFTecProcId : Integer; FCodProcesso: Word; FCodProcFabr: Integer; FTempo : Integer; public constr...
unit SelfTest.Failures; {$i selftest.inc} interface uses Deltics.Smoketest, SelfTest.Consts; type TTestFailures = class(TTestCase) procedure SingleTests_Precise; procedure SingleTests_Approximate; procedure DoubleTests_Precise; procedure DoubleTests_Approxi...
unit UtilStock; interface uses StdCtrls,Controls,Classes,forms,sysutils,ComCtrls, HCtrls,HEnt1,HMsgBox,HStatus,Hdimension,UTOB,UTOM,AGLInit, {$IFDEF EAGLCLIENT} emul,Maineagl, {$ELSE} dbTables,DBGrids,db,Fe_Main, {$ENDIF} LookUp,EntGC,ParamSoc ; function RecalculStockDate(Article,...
{=============================================================================== RzShellDialogs Unit Raize Components - Component Source Unit Copyright © 1995-2015 by Raize Software, Inc. All Rights Reserved. Components ------------------------------------------------------------------------------ TRzS...
namespace Moshine.Api.Weather; uses Foundation, Moshine.Api.Weather.Models, Moshine.Api.Weather.Models.WeatherUnderground, RemObjects.Elements.RTL; type WeatherPopulator = public class private method AsDouble(obj:NSObject):Double; begin if(obj is Double)then begin exit obj as ...
{ Диалог просморта данных v0.0.1 (26/09/06) } unit RecordsetDlg; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGridEh, DB, ADODB, GridsEh; type TfrmRecordsetDlg = class(TForm) DBGridEh: TDBGridEh; DataSet: TADODataSet; DataSource: T...
program FindBinary; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils, Winapi.Windows; procedure ClearScreen; var stdout : THandle; csbi : TConsoleScreenBufferInfo; ConsoleSize : DWORD; NumWritten : DWORD; Origin : TCoord; begin stdout := GetStdHandle(STD_...
unit RepositorioProdutoCores; interface uses DB, Auditoria, Repositorio; type TRepositorioProdutoCores = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function ...
unit lse_zlib; interface uses SysUtils, classes, windows; type RLiFileRec = packed record f_name: array[0..MAX_PATH - 1] of char; {<--file name} f_size: integer; {<--file size} c_size: integer; {<--file size after compression} end; ...
{******************************************************************************* 作者: dmzn@163.com 2014-06-11 描述: 磅站通道管理器 *******************************************************************************} unit UMgrPoundTunnels; interface uses Windows, Classes, SysUtils, SyncObjs, CPort, CPortTypes, IdComp...
unit Contador; interface uses SysUtils, Contnrs; type TContador = class private Fcodigo_cidade: Integer; Fcodigo: Integer; Fcnpj: String; Fcep: String; Fnumero: String; Femail: String; Frua: String; Ffone: String; Fbairro: String; Fcrc: String; Fnome: String; ...
unit UClasses; interface type THouse = class nickName: string; adress: string; cod_house: Integer; end; type TBillType = class billType: string; cod_bill_type: Integer; end; type TResident = class nameResident: string; dt_in: TDate; dt_out: TDate; da...
{----------------------------------------------------------------------------- Unit Name: FactorEx Author: Gary Whetton Date: 9/11/2003 2:56:51 PM Revisions: Build Number Date Author -----------------------------------------------------------------------------} unit FactorEx; interface uses Wind...
unit StackTrace; interface uses typex, systemx, managedthread, sharedobject, betterobject, classes; type TStackTrace = class(TSharedObject) protected FList: TStringlist; public procedure Init;override; procedure Detach; override; procedure Push(scontext: string); procedure Pop; end; p...
// Copyright(C): Advanced Card Systems Ltd // // File: DevProgMain.pas // // Description: This sample program outlines the steps on how to // execute device-specific functions of ACR128 // // Author: Jose Isagani R. Mission // // Date: May 19, 200...
unit SMS_Hint; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, Math; const DEF_AUTO_SECOND = 3; type TSMSHint = class(TForm) PaintHint: TPaintBox; procedure FormClose(Sender: TObject; var Action: TCloseAction); pro...
(* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distr...
PROGRAM primes (output); CONST max = 1000; VAR number, divisor, limit : integer; BEGIN writeln; writeln('Primes'); writeln; write(2:4); number := 3; WHILE number <= max DO BEGIN limit := trunc(sqrt(number)); divisor := 1; REPEAT ...
unit DataBuilderFluent.Intf; interface type IDataBuilderFluent = interface ['{1BA8B314-4968-4209-AF1E-2496C7BEC390}'] function BeginData: IDataBuilderFluent; function BeginNode(const name: string): IDataBuilderFluent; function AddField(const name, value: string): IDataBuilderFluent; function EndNode...
unit HashAlgMD4_U; // Description: MD5 Hash (Wrapper for the MD5 Hashing Engine) // By Sarah Dean // Email: sdean12@softhome.net // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses Classes, HashAlg_U, HashAlgMD4Engine_U; type ...
{ License: Copyright (c) 2004 Dan Scott All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
unit DW.SpeechRecognition.iOS; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
unit cbFTPControler; interface uses Windows, SysUtils, Classes, IdIntercept, IdLogBase, IdLogFile, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdFTP, IdFTPList, IdThreadMgr, IdThreadMgrDefault, IdThreadComponent, cbClass; type TFTPControler = class(TDataModule) IdFTP: TIdFTP; procedur...
unit MFModPathZone; interface {MFModPathZone defines the "MODPATH Zone Unit" layer and the associated parameter.} uses ANE_LayerUnit, MFGenParam; type TModpathZoneParam = class(TCustomParentUnitParameter) public class function ANE_ParamName: string; override; function Units: string; override; const...
unit TimedLock; interface uses SyncObjs; type TTimedLock = class(TObject) private FTerminateEvent: TEvent; FLockInterval: Int64; FLockName: string; public constructor Create(const ALockName: string); reintroduce; destructor Destroy; override; function WaitForLock: Bo...
{ ************************************* Created by Danilo Lucas Github - https://github.com/dliocode ************************************* } unit Validator.IsPhoneNumber; interface uses DataValidator.ItemBase, System.SysUtils, System.RegularExpressions; type TValidatorIsPhoneNumber = class(TDataValida...
unit Cor; interface uses SysUtils, Contnrs; type TCor = class private FCodigo :Integer; FDescricao :String; FReferencia: String; FDesc_producao: String; FCor: String; FTipo: String; FCor_pai: String; FCodigo_colecao :integer; FCoresFilhas :TObjectList; FCoresKit ...
unit MD5BaseCalculatorUnit; interface uses Classes; //##jpl: note that for Unicode you should perform some kind of Normalization (http://unicode.org/reports/tr15/) // java SE6 includes a few of those (http://java.sun.com/developer/technicalArticles/javase/i18n_enhance/#normalization) // MessageDigest_5 ch...
{ Copyright (c) 2007-2012 Jeroen Wiert Pluimers for BeSharp.net and better office benelux. Full BSD License is available at http://besharp.codeplex.com/license and http://bo.codeplex.com/license } unit ConsoleLoggingLogicUnit; interface uses LoggerInterfaceUnit; type TConsoleLoggingLogic = class; ...
unit DW.NativeButton.Android; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...