text
stringlengths
14
6.51M
unit atCommandLineParameter; // Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atCommandLineParameter.pas" // Стереотип: "SimpleClass" // Элемент модели: "TatCommandLineParameter" MUID: (4808938A0159) interface uses l3IntfUses , atNamedParameter , atParameter ; type TCLPType = ( {* тип параметра ко...
unit m2TMPLib; {* Функции для работы с временными файлами. } (* // // // .Author: Mickael P. Golovin. // .Copyright: 1997-2001 by Archivarius Team, free for non commercial use. // // *) // $Id: m2tmplib.pas,v 1.1 2008/02/22 17:10:08 lulin Exp $ // $Log: m2tmplib.pas,v $ // Revision 1.1 2008/02/22 17:10:08 lulin ...
{******************************************************************************* 作者: dmzn@163.com 2009-6-25 描述: 处理窗体背景 *******************************************************************************} unit UImageControl; interface uses Windows, Classes, Controls, Graphics, SysUtils; type TImageCon...
{ RxDBTimeEdit unit Copyright (C) 2005-2010 Lagunov Aleksey alexs@yandex.ru and Lazarus team original conception from rx library for Delphi (c) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software ...
unit kwWordAliasByRef; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwWordAliasByRef.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, ...
unit CommCtrl4; interface uses Windows, Messages, CommCtrl, Classes; const cctrl = 'comctl32.dll'; type PInitCommonControlsEx = ^TInitCommonControlsEx; TInitCommonControlsEx = packed record dwSize : longint; dwICC : longint; end; const ICC_LISTVIEW_CLASS...
{ *************************************************************************** } { } { } { Copyright (C) Amarildo Lacerda } { } { https://github.com/amarildolacerda } { } { } { *************************************************************************** } { } { Licensed under the Apache License, Version 2.0 (th...
unit Model.FaixaPeso; interface type TFaixaPeso = class private var FID: System.Integer; FPesoInicial: System.Double; FPesoFinal: System.Double; FLog: System.string; public property ID: System.Integer read FID write FID; property PesoInicial: System.Double read FPe...
UNIT playcmfu; { ******************************************************************** *Unité pour controler les cartes Sound Blaster en Turbo-Pascal 6.0* * en utilisant le Driver SBFMDRV.COM. * ******************************************************************** * ...
unit Utils; interface uses Windows, Messages, Classes, Forms, Dialogs, SysUtils, StrUtils, ShlObj, ShellApi, System.UITypes; procedure ConvertFileToOEM(const FileName: string); function isDigit(c: char): Boolean; function isNumber(s: string): Boolean; procedure log(s : string); function leadingZero(n : string):strin...
{ 2020/05/11 5.01 Move tests from unit flcTests into seperate units. } {$INCLUDE flcTCPTest.inc} {$IFDEF TCPCLIENT_TEST} {$DEFINE TCPCLIENT_TEST_WEB} {$ENDIF} unit flcTCPTest_Client; interface {$IFDEF TCPCLIENT_TEST} uses SysUtils, SyncObjs, flcStdTypes, flcTCPClient; {$ENDIF} {$IFDEF TCPCLI...
unit DOSAPI; interface uses Crt; function InputString(AX, AY, MaxLen: Integer; var AStr: string; ADisplay: Boolean): Boolean; function InputInteger(AX, AY, MinVal, MaxVal: Integer; var AValue: Integer): Boolean; implementation function InputString(AX, AY, MaxLen: Integer; var AStr: string; ADisplay: Boolean): Bool...
unit Const_SearchOptionUnit; interface const STAGE_SEQ_NUM = 5; STAGE_NAME_LIST: array[0..6] of String = ( 'pumping', 'Heatup', 'Growth', 'Stabilization', 'Linear Decreasing',...
unit ULiveContactsDemo; interface uses FMX.TMSCloudBase, FMX.TMSCloudLiveContacts, FMX.Controls, FMX.Edit, FMX.ExtCtrls, FMX.ListBox, FMX.StdCtrls, FMX.Grid, FMX.Layouts, SysUtils, FMX.TMSCloudListView, FMX.Objects, System.Classes, FMX.Types, FMX.Forms, FMX.TMSCloudBaseFMX, FMX.TMSCloudCustomLive, FMX.TMSClou...
unit uPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, uClasse.Veiculo.Terrestre.Caminhao, uClasse.Veiculo.Terrestre.carro, uClasse.Veiculo.Aereo.Aviao, uClasse.Veiculo.A...
unit CSWatchform; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, WinSockRDOConnection, RDOServer, RDOInterfaces, RDOObjectProxy; type TALSPFrm = class(TForm) Panel1: TPanel; Memo: TMemo; Timer: TTimer; procedure TimerTimer(Sender: TO...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1999 Inprise Corporation } { ...
unit IdSASL_NTLM; interface {$i IdCompilerDefines.inc} uses IdSASL, IdSASLUserPass; const DEF_LMCompatibility = 0; type TIdSASLNTLM = class(TIdSASLUserPass) protected FDomain : String; FLMCompatibility : LongWord; procedure InitComponent; override; public class funct...
unit k2Unknown; { Библиотека "K-2" } { Автор: Люлин А.В. © } { Модуль: k2Unknown - } { Начат: 17.12.2002 14:58 } { $Id: k2Unknown.pas,v 1.46 2014/06/24 14:53:34 lulin Exp $ } // $Log: k2Unknown.pas,v $ // Revision 1.46 2014/06/24 14:53:34 lulin // - делаем регистрацию атрибутов в отдельном списке. //...
{ Version 1.0 - Author jasc2v8 at yahoo dot com This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by an...
{*********************************************************************** } { File: Main.pas } { } { Purpose: } { ...
unit evdTaskTypes; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "EVD" // Модуль: "w:/common/components/rtl/Garant/EVD/NOT_FINISHED_evdTaskTypes.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, root element:...
unit adEngine; { $Id: adEngine.pas,v 1.8 2014/10/20 09:48:04 fireton Exp $ } interface uses l3Types, l3Interfaces, l3ProtoObject, l3StringList, l3Except, l3ProtoObjectRefList, JclSimpleXML; type TadItem = class(Tl3ProtoObject) private f_Alias: AnsiString; f_Changed: Boolean; f_Name: AnsiString; f_...
unit uClasse.Veiculo.Aereo; interface uses uClasse.Veiculo; type TAereo = class(TVeiculo) private public Altura_maxima: currency; Tipo_propulsor: string; Qtd_Pilotos: integer; breve: string; tipo_transporte: string; //carga ou pessoas possui_armamento: ...
unit f2Types; interface uses d2dTypes, d2dInterfaces, d2dClasses, d2dSprite, d2dFont, d2dGUITypes, JclStringLists; type Tf2DecorType = (dtInvalid, dtText, dtRectangle, dtPicture, dtAnimation, dtGIF, dtClickArea, dtImgButton, dtTextButton); const c_Gametitle = 'gametitle'; c_StyleDosTextcolor = 'Style_dos_t...
PROGRAM roman (output); VAR x, y : integer; BEGIN y := 1; REPEAT x := y; write(x:4, ' '); WHILE x >= 1000 DO BEGIN write('m'); x := x - 1000; END; WHILE x >= 500 DO BEGIN write('d'); x := x - 500; END; W...
unit FuturesData_Load; interface uses BaseApp, FuturesDataAccess; function LoadFuturesData(App: TBaseApp; ADataAccess: TFuturesDataAccess): Boolean; function CheckNeedLoadFuturesData(App: TBaseApp; ADataAccess: TFuturesDataAccess; ALastDate: Word): Boolean; implementation use...
unit URestore; interface uses Classes; type TRestoreFileInfo = class(TObject) protected FBasePath : string; FList : TStrings; procedure RestoreList; public procedure Restore(const fn : string); end; implementation uses SysUtils, JclStrings, JclFileutils, ISO8...
unit TTSPasswordTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSPasswordRecord = record PUserName: String[10]; PPassword: String[50]; PCreated: TDateTime; PInvalidAttempts: Integer; PLastLoginAttempt: TDateTime; PModifiedBy: String[1...
unit CliViejo; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Grids, ComCtrls, ExtCtrls, Db, DBTables, DBActns, ActnList, Menus, ImgList, ToolWin, JvFormPlacement, JvAppStorage, JvAppIniStorage, JvComponentBase, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelP...
unit SincroDataDM; interface uses SysUtils, Classes, DB, DBTables, StdCtrls, ComCtrls, Forms ; type TDSincroData = class(TDataModule) dbSAT: TDatabase; dbBAGChanita: TDatabase; dbBAGP4H: TDatabase; dbBAGTenerife: TDatabase; dbBAGSevilla: TDatabase; qrySAT: TQuery; dbBAG: TDatabase; ...
unit ATxMsg; interface var MsgViewerErrCannotFindText: string = 'Search string not found: "%s"'; MsgViewerErrInvalidHex: string = 'Hex string is invalid: "%s"'; MsgViewerErrInvalidFilelist: string = 'Cannot handle files list: "%s"'; MsgViewerSearchProgress: string = 'Searching for "%s":'; MsgViewerLangMisse...
unit skykid_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} m6809,m680x,namco_snd,main_engine,controls_engine,gfx_engine,rom_engine, pal_engine,misc_functions,sound_engine; function iniciar_skykid:boolean; implementation const //Sky Kid skykid_rom:array[0..2] of tipo_roms=( (n:'...
unit LamwinoAvrSerial; {version 0.1 revision 03 - 24 Fev - 2016} {$mode delphi} (*references http://brittonkerin.com/cduino/lessons.html http://www.delphitricks.com/source-code/math/convert_a_binary_number_into_a_decimal_number.html http://www.swissdelphicenter.ch/torry/showcode.php?id=442 http://programmersheave...
unit GetAddressBookContactsResponseUnit; interface uses REST.Json.Types, GenericParametersUnit, AddressBookContactUnit; type TGetAddressBookContactsResponse = class(TGenericParameters) private [JSONName('results')] FResults: TAddressBookContactArray; [JSONName('total')] FTotal: integer; pu...
unit uDepartamentoVO; interface uses System.SysUtils, uDepartamentoAcessoVO, uDepartamentoEmailVO, System.Generics.Collections, uKeyField, uTableName; type [TableName('Departamento')] TDepartamentoVO = class private FAgendamentoQuadro: Boolean; FAtividadeQuadro: Boolean; FChamadoStatus: Boolean...
unit mnSynHighlighterBVH; {$mode objfpc}{$H+} {** * NOT COMPLETED * * This file is part of the "Mini Library" * * @url http://www.sourceforge.net/projects/minilib * @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html) * See the file COPYING.MLGPL, included in thi...
unit UseIntfForm; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, TypInfo; type TFormUseIntf = class(TForm) BtnChange: TButton; lbClasses: TListBox; cbModal: TCheckBox; Label1: TLabel; procedure BtnChangeClick(Sender: TObject); ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit kwIterate; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Автор: Люлин А.В. // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwIterate.pas" // Начат: 12.05.2011 21:40 // Родные Delphi интерфейсы (....
{ *************************************************************************** Copyright (c) 2015-2021 Kike Pérez Unit : Quick.Options.Serializer.Json Description : Configuration groups Json Serializer Author : Kike Pérez Version : 1.0 Created : 18/10/2019 Modified : 15/12/2021 ...
unit dt_ImgContainer; { $Id: dt_ImgContainer.pas,v 1.2 2011/12/05 14:03:32 fireton Exp $ } // $Log: dt_ImgContainer.pas,v $ // Revision 1.2 2011/12/05 14:03:32 fireton // - не падаем, если файл битый // // Revision 1.1 2008/10/03 10:31:36 fireton // - образом документа теперь может быть не только TIFF // interfa...
unit CompSignTools; { Inno Setup Copyright (C) 1997-2010 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Compiler SignTools form $jrsoftware: issrc/Projects/CompSignTools.pas,v 1.3 2010/03/24 18:34:14 mlaan Exp $ } interface uses Windows, Messages, Cla...
unit Autocomplete_string_list; interface uses classes; type TAutocompleteStringList = class (TStringList) protected function CompareStrings(const S1, S2: string): Integer; override; //ищет не точное соответствие, а лишь то, что S1 начинается с S2 //сортировка, к сожалению, работает через нее...
unit vtPropEditors; interface uses ImgList, DesignIntf, DesignEditors, evImageIndexProperty ; type TvtStatusBarEditor = class(TDefaultEditor) protected procedure RunPropertyEditor(const Prop: IProperty); public procedure ExecuteVerb(Index : Integer); override; function GetVerb(Index : In...
unit kwRULES; {* Аналог CASE и трансформаторов в MDP. Если условие выполняется, то выполняется следующий за ним оператор и осуществляется выход } // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\kwRULES.pas" // Стереотип: "ScriptKeyword" // Элемент модели: "RULES" MUID: (4F51EC180118) // Имя типа: "TkwRULES" ...
unit WPSyntaxHighlight; { ----------------------------------------------------------------------------- Copyright (C) 2002-2015 by wpcubed GmbH - Author: Julian Ziersch info: http://www.wptools.de mailto:support@wptools.de __ __ ___ _____ _ _____ /...
{ DBAExplorer - Oracle Admin Management Tool Copyright (C) 2008 Alpaslan KILICKAYA This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
{*******************************************************} { } { TDCMinTray Component } { } { Copyright (c) 1997-2000 Dream Company } { http://www.dream-com.com ...
unit Unit1; interface type TElem = record id: integer; libelle: string[50]; coche: boolean; end; TListe = array of TElem; function ajouter(libelle: string): integer; procedure modifier(id: integer; libelle: string); procedure supprimer(id: integer); procedure cocher(id: integer); ...
unit DelphiUp.View.Components.Cards.Interfaces; interface uses System.UITypes; type iComponentCardAttributes<T> = interface ['{17BBB4F1-D812-4CAA-B486-241405AC404D}'] function Title ( aValue : String ) : iComponentCardAttributes<T>; overload; function Title : String; overload; funct...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
Uses Crt, Graph; Procedure Pause; Var C: Char; Begin while keypressed do C := readkey; repeat until keypressed; End; Procedure Recur(x, y, r, k: Integer); Var rr: Integer; Begin if r > k then begin Recur(x + r, y, r div 2, k); Recur(x, y + r, r div 2, k); Recu...
unit kinveyDataModule; interface uses System.SysUtils, System.Classes, IPPeerClient, REST.OpenSSL, REST.Backend.ServiceTypes, REST.Backend.MetaTypes, System.JSON, REST.Backend.KinveyServices, REST.Backend.Providers, REST.Backend.ServiceComponents, REST.Backend.KinveyProvider, REST.Client, REST.Authenticator...
unit DataTrain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Grids, System.json, REST.json, idHTTP, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, System.Net.UR...
unit IntfColSel; interface uses Graphics, Contnrs; type IColorSelect = interface ['{3F961395-71F6-4822-BD02-3B475FF516D4}'] function Display (Modal: Boolean = True): Boolean; procedure SetSelColor (Col: TColor); function GetSelColor: TColor; property SelColor: TColor read GetSelColor writ...
unit GetVendorUnit; interface uses SysUtils, Classes, BaseExampleUnit, EnumsUnit; type TGetVendor = class(TBaseExample) public procedure Execute(VendorId: integer); end; implementation uses NullableBasicTypesUnit, VendorUnit; procedure TGetVendor.Execute(VendorId: integer); var ErrorString: Stri...
program ex; type setChar=set of char; {тип "множество символов"} str80=string[80]; {тип "строка длной 80 символов"} pTop=^Top; {тип "указатель на вершину"} Top=record {тип "вершина"} operator:string[5]; {знак операции} value:single; {значение константы} left,right:pTop; {указатель на левое и пр...
unit CommonDictionKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы CommonDiction } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Diction\CommonDictionKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "CommonDictionKeywordsPack" MUID: (B862EAF3C351) {...
unit define_price; interface type TRT_UpDownStatus = ( udNone, udFlatline, // 持平 udUp, // 上涨 udDown // 下跌 ); TRT_WeightMode = ( weightUnknown, weightNone, // 不复权 weightForward, // 前复权 weightBackward // 后复权 ); TStore_UpDownStatus ...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Arno Garrels <arno.garrels@gmx.de> Description: TIcsThreadTimer implements a custom timer class. In doesn't use windows API timers but sends custom timer messages to an already existing ICS-wind...
(*-------------------------------------------------------------*) (* Neuhold Michael *) (* Some initial tests with numbers. *) (*-------------------------------------------------------------*) PROGRAM TestNumbers; CONST lower = 1; upper ...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserv...
{ Double Commander ------------------------------------------------------------------------- Layout options page Copyright (C) 2006-2011 Koblov Alexander (Alexx2000@mail.ru) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as ...
Unit wz_misc; {$mode objfpc}{$H+} {$DEFINE DEBUG_OFF} Interface Uses classes, sysutils, dialogs, Forms, // For opening ini files INIFiles, // For decompression routine Zipper, // For windows registry access Registry; type TWZConfig = record // integers ColorDepth, // Options: 0 - 16bit, 1 -...
{********************************************************************} { TTileBMP component } { for Delphi & C++Builder } { } { written by TMS Software ...
unit magmax_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,m68000,main_engine,controls_engine,gfx_engine,ay_8910,rom_engine, pal_engine,sound_engine; function iniciar_magmax:boolean; implementation const magmax_rom:array[0..5] of tipo_roms=( (n:'1.3b';l:$4000;p:1;crc:$33793cbb),...
unit NtUtils.Exec.Wdc; interface uses NtUtils.Exec; type TExecCallWdc = class(TInterfacedObject, IExecMethod) function Supports(Parameter: TExecParam): Boolean; function Execute(ParamSet: IExecProvider): TProcessInfo; end; implementation uses Winapi.Wdc, NtUtils.Exceptions, Winapi.WinError, NtUtils...
unit Unit1; {** * This file is part of the "Mini Library" * * @url http://www.sourceforge.net/projects/minilib * @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html) * See the file COPYING.MLGPL, included in this distribution, * @author Zaher Dirkey *} {$mo...
{ Subroutine SST_R_PAS_SYN_PAD (MFLAG) * * This subroutine implements the PAD syntax referenced in PAS.SYN. It is * intended to skip over "irrelevant" characters, such as space, end of line, * etc. Comments have already been removed from the input stream by the * pre-processor. } module sst_r_pas_SYN_PAD; d...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clEmailAddress; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils; {$ELSE} System.Classes, System.SysUtils; {$ENDIF} type TclEmailAddressItem = class(TCollectionItem) p...
unit wwClasses; { Базовые объекты мира червяков } interface Uses Types, Contnrs, Classes, wwTypes; const MapHeight = 499; MapWidth = 499; Type TwwPoint = class Position: TPoint; Value : Integer; procedure MoveTo(aDirection : TwwDirection); end; TwwWorld = class; TwwThing = class(TObject) privat...
unit bdzxAnalysisForm; interface uses Forms, BaseForm, Classes, Controls, SysUtils, StdCtrls, QuickSortList, QuickList_double, StockDayDataAccess, define_price, define_dealitem, Rule_BDZX; type TfrmBdzxAnalysisData = record Rule_BDZX_Price: TRule_BDZX_Price; StockDayDataAccess: TStockDayDataAccess;...
unit Live.Model.Fiscal.SPED.C170; interface uses Live.Model.Fiscal.SPED.Interfaces, Live.Model.Connection, System.Classes; type TSPEDC170 = class(TInterfacedObject, iExport<TDataConnection>) private FArquivo : TStringList; public constructor Create; destructor Destroy...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
program statystyka; {$APPTYPE CONSOLE} uses SysUtils, crt; const wersja = '0.2'; type stat = record c : char; n : cardinal; len : cardinal; end; var n_freq : cardinal; plot : boolean; query : integer; ...
unit Cover; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ColoredGauge, Synchro, InternationalizerComponent; type TCoverForm = class(TForm) CoverPanel: TPanel; Backround: TImage; StatusPanel: TPanel; OverallProg: TColorGauge; Co...
unit DDrawD3DManager; interface uses Windows, DirectDraw, Direct3D, D3DXCore; type TDDrawD3DManager = class public constructor Create(MainWindow : HWND; ScreenWidth, ScreenHeight : integer); destructor Destroy; override; private function InitD3DX : HRE...
(* * InIOCP 客户端连接、发送线程、接收线程、投放线程 类 * TInConnection、TInWSConnection 从 TBaseConnection 继承 * TInStreamConnection 未实现 *) unit iocp_clientBase; interface {$I in_iocp.inc} uses {$IFDEF DELPHI_XE7UP} Winapi.Windows, System.Classes, System.SysUtils, Vcl.ExtCtrls, {$ELSE} Windows, Classes, SysUtils, ExtCtrls, {...
unit uFunctions.Form; interface type FormHelper = class private class var FLastInterface: TGUID; class var FLastObject: IInterface; public class function GetFirstForm(const AInterface: TGUID; out RI): Boolean; end; implementation uses { Screen } Vcl.Forms, { Supports } System.SysUtils; ...
unit View.Dialog; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.ImageList, Vcl.ImgList, Vcl.ExtCtrls, Vcl.Buttons, Vcl.StdCtrls, System.Actions, Vcl.ActnList, System.UITypes; type Tview_Dialog = cla...
unit modComPort; interface uses windows, modGlobals, dateutils, sysutils, System.Generics.Collections; const MOD_COM_RESULT_ERROR = -1; MOD_COM_RESULT_NOTHING = -2; MOD_COM_RESULT_PENDING = -3; // error types that indicate what function failed! type TmodComError = (modComPort_NoError, modC...
program ejercicio5; const dimF = 1000; type str40 = String[40]; codRol = 1..5; rangoCod = 1..1000; participante = record PaisResidencia : str40; codProyecto : Integer; nomProyecto : str40; rol : codRol; cantHoras : Integer; end; info = record arquitectos : Integer; proyectoMonto : Real; end; ...
{ File: CodeFragments.p Contains: Public Code Fragment Manager Interfaces. Version: Technology: Forte CFM and Carbon Release: Universal Interfaces 3.4.2 Copyright: © 1992-2002 by Apple Computer, Inc., all rights reserved. Bugs?: For bug reports, cons...
unit HireCriminalDlg; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IBSystem, IBTestMain; type THireCriminal = class(TForm) Label1: TLabel; Label2: TLabel; lbExpert: TListBox; lbRookies: TListBox; Label3: TLabel; lbProperties: TListBo...
unit Eagle.Alfred.DprojParser; interface uses System.SysUtils,System.Win.ComObj, XML.adomxmldom, ActiveX, XMLDoc, MSXML, MSXMLDOM, XMLIntf, System.IOUtils, System.Classes, System.Generics.Collections; type TDprojParser = class private FXMLDocument: IXMLDomDocument; FPackagePath: str...
{$MODE OBJFPC} program MaxRect; const InputFile = 'RECT.INP'; OutputFile = 'RECT.OUT'; maxMN = Round(5E5); var stack: array[1..maxMN] of Integer; top: Integer; h: array[1..maxMN] of Integer; left, right: array[1..maxMN] of Integer; m, n: Integer; resS: Int64; procedure Enter; var f: TextFile; i:...
{ lzRichEdit Copyright (C) 2010 Elson Junio elsonjunio@yahoo.com.br This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later ver...
unit nsQuestionsWithChoices; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Data" // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/Data/nsQuestionsWithChoices.pas" // Родные Delphi интерфейсы (.pas) // Generated from UM...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit NurseStationStorageU; interface uses System.SysUtils, System.Classes, 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.Phys.IB, FireDAC.Phys.IBDef, FireDAC.Stan.Param, Fir...
unit Model_Instruction; interface uses System.SysUtils, System.Classes, System.UITypes, Data.FMTBcd, Data.DB, FMX.Grid, Datasnap.DBClient, Data.SqlExpr, System.Generics.Collections, FMX.Dialogs, ClientClassesUnit1, ClientModuleUnit1, DBXJSON; type TInstructionLink = Class public InstructionCode: St...
program a2test1; { This program contains 8 test cases to test your implementation. In order to run this program you must compile the files 'a2unit.pas' and 'BinTrADT.pas' to the current directory, or to the C:/work directory. After compiling you should see files named 'a2unit.tpu' and 'BinTrADT.tpu' on...
unit akShell; interface uses Windows, ShlObj; const BIF_NEWDIALOGSTYLE = $0040; CSIDL_APPDATA = $001A; //------------------------------------------------------------------------------ // Работа с системными каталогами ============================================== // Возвращает путь к каталогу "Автоза...
namespace Sugar.Collections; interface uses {$IF ECHOES}System.Linq,{$ENDIF} Sugar; type Dictionary<T, U> = public class mapped to {$IF COOPER}java.util.HashMap<T,U>{$ELSEIF ECHOES}System.Collections.Generic.Dictionary<T,U>{$ELSEIF TOFFEE}Foundation.NSMutableDictionary where T is class, U is class;{$...
unit Model.Modalidades; interface type TModalidades = class private FCodigo: Integer; FDescricao: String; FOperacao: String; FLog: String; public property Codigo: Integer read FCodigo write FCodigo; property Descricao: String read FDescricao write FDescricao; pro...
{****************************************************************************} {* MOVES.PAS: This file contains the routines which generate, move, and *} {* otherwise have to do (on a low level) with moves. *} {****************************************************************************} {**...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit LogUtils; interface uses Winapi.Windows, System.SysUtils; procedure Log(const Msg: string); implementation var LastLog: Cardinal = 0; Loging : Boolean = False; procedure Log(const Msg: string); var n: string; h: TextFile; t, d: Cardinal; begin t := GetTickCount; if LastLog <> 0 then d :=...