maxm74 / delphitwain Goto Github PK
View Code? Open in Web Editor NEWTwain features for Delphi and Lazarus (Free Pascal)
License: GNU General Public License v3.0
Twain features for Delphi and Lazarus (Free Pascal)
License: GNU General Public License v3.0
Hello,
Delphi 11 Version 28.0.48361.3236
please note these errors:
[dcc64 Error] DelphiTwain.pas(164): E2003 Undeclared identifier: 'TPersistent'
[dcc64 Error] DelphiTwain.pas(164): E2021 Class type required
[dcc64 Warning] DelphiTwain.pas(196): W1055 PUBLISHED caused RTTI ($M+) to be added to type 'TTwainIdentity'
Unit Classes should be added to Uses.
uses
SysUtils, Windows, Messages,
Classes,
Twain, DelphiTwainUtils;
Please also note these warnings:
[dcc64 Warning] i18nCore.pas(3214): W1002 Symbol 'Create' is specific to a platform
[dcc64 Warning] DelphiTwainUtils.pas(309): W1035 Return value of function 'TPointerList.GetItem' might be undefined
[dcc64 Warning] DelphiTwain.pas(193): W1010 Method 'Assign' hides virtual method of base type 'TPersistent'
[dcc64 Warning] DelphiTwain.pas(2980): W1035 Return value of function 'Obj' might be undefined
Published properties should be converted to Public if there is no design-time components to be installed:
public
{Object being created}
constructor Create;
{Copy properties from another TTwainIdentity}
procedure Assign(Source: TObject);
property ID: TW_UINT32 read GetId;
published
{Application major version}
property MajorVersion: TW_UINT16 read GetMajorVersion write SetMajorVersion;
{Application minor version}
property MinorVersion: TW_UINT16 read GetMinorVersion write SetMinorVersion;
{Language}
property Language: TTwainLanguage read GetLanguage write SetLanguage;
{Country code}
property CountryCode: Word read GetCountryCode write SetCountryCode;
Best regards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.