Art 
        Soft 
 Art 
        Soft 
A RUS ENG


Home

My works

DownLoad

Donate

About me

Rambler's Top100
Rambler's Top100

 

 
THDDInfo
TArtLicence
ArtFormula
TMinimizer
Delphi component  THDDInfo (Download...)

THDDInfo - nonvisual Delphi component provided low level information about IDE, SCSI and ATAPI devices.

Supports Win9x, WinNT and Vista platforms, provided information about IDE, ATAPI and SCSI devices.

Provided information:

  • drive type
  • Model sting
  • Firmware revision
  • Serial number
For IDE also:
  • drive geometry (cylinders, heads, sectors per track)
  • LBA sectors count
  • drive size (nonformatted)
  • Controller buffer size

History

  • Version 2.3: Added support for Delphi 2009.
  • Version 2.2: Added gimZeroRights and gimWMI methods for Vista support.
  • Version 2.1: Added ASPI support (new get info method gimASPI). Many thanks to Bill Mudd (mcmudd(a)earthlink.net).
  • Version 2.0: Added Scsi bus scan features. gimScsi now returns info about ATAPI devices. gimAuto behavior changed (due to Vassilis Papanikolaou (billy(a)ee.auth.gr) bug report), see note about gimNT. Some minor bugs fixed.
  • Version 1.22: Delphi 5 compatibility added (thanks to Marcelo Castro abusemg-jan(a)yahoo.com.br)
  • Version 1.21: Some bugs removed
  • Version 1.2: Added new method gimByName (NT only), provided info about IDE, SCSI and ATAPI devices
  • Version 1.1: Added ATAPI support for Win9x procedure
  • Version 1.0: First working version

Up


Delphi component  TArtLicense (Download...)

TArtLicense - very simple nonvisual Delphi component useful for shareware program developing.

It uses encrypted license files containing information about exe file (size and crc), expired date and any additional information.

As TArtLicense uses RSA asymmetric algorithm and TArtLicense knows only decryption key, nobody can change information inside license file.

Archive also includes source code of ArtLicGenerator (program to generate license files compatible with TArtLicense).

History

  • Version 1.1: Now license file can contain non-encrypted additional data (ExData property)
  • Version 1.0: First working version
Up
Delphi package  ArtFormula (Download...)

ArtFormula package contains two nonvisual Delphi componenst for symbolic expression parsing and evaluation. Provides runtime scripting engine for automating your programs.

Provides:

  • 7 arithmetic operations
  • 10 logical operations
  • 6 bitwise operations
  • string concatenation
  • 22 arithmetic functions
  • 10 statistical functions
  • 2 logical functions
  • 16 string functions
  • 13 date functions
  • 14 programming functions
  • User defined constant
  • Up to 255 user defined variables
  • Up to 255 user defined functions (modules)
  • Symbolical differentiation of functions with basic simplification of resulting derivatives

Arithmetic operation:
x + y, x - y, x * y, x / y, x % y (Mod), x ^ y (power), x\ y (Div)

Logical operation (true=1, false=0):
x > y, x < y, x >= y, x <= y, x = y, x <> y, ! x (not), x & y (and), x | y (or), x xor y

Bitwise operations:
x && y (band), x || y (bor), !!x (bnot), x bxor y, x >> y (shr), x << y (shl)

Predefined constants:
Pi = 3.1415926535897932385
True = 1
False = 0

Functions:
sin, cos, tan, sinh, cosh, tanh, asin, acos, atan, asinh, acosh, atanh, sqrt, exp, log, lg (log base 10), int (integer part of a number), frac (fractional part of a number), abs, sign, rnd, randomize
max(x,y...), min(x,y,...), count(x,y,...), sum(x,y,...), sumofsquares(x,y,...), avg(x,y,...), variance(x,y,...), variancep(x,y,...), stddev(x,y,...), stddevp(x,y,...)
iff(cond,x,y) (if cond = true then result = x else result = y),
isnumber(x)
chr(x), length(s), trim(s), trimleft(s), trimright(s) lowercase(s), uppercase(s), midstr(s,x,y), leftstr(s,x), rightstr(s,x), pos(s,t), code(s), format(s,x), formatf(s,x), stringofchar(c,n), concat(s1,s2,...)
date(s), now, formatdate(s,d), year(d), month(d), day(d), hour(d), minute(d), second(d), millisecond(d), isleapyear(n), dayofweek(d), encodedate(y,m,d)

Programming:

TArtFormula provides two styles of programming: formula style and scripting style. The first style assumes that all statements have the form of function call. The second style imply that you use common program language notation.

For example:

    block(defines('i','n'), set('n',1), 
          series(set('i',1), val('i')<=5, inc('i'), set('n',val('n')*val('i'))), 
          msg('5! = '+val('n'),'result',0)) 

Is equal to:

   begin 
     var 'i', 'n' end;
     $n:=1;
     for $i:=1;  $i<=5;  $i++ do
       $n := $n*$i;
     next;
     msg('5! = '+val('n'),'result',0);
   end

You can mix two styles in one program.

TArtFormula programming language supports:

  • Variables definitions
  • Assigmnent statement
  • Increment and Decrement operations
  • Return function
  • Compound statement (BEGIN... END)
  • IF statement
  • WHILE loop
  • UNTIL loop
  • FOR loop
  • Interface functions: msg('text','caption',props), input('caption', 'text', defvalue)

Spreadsheet applicatiuon:

TArtFormula can be used in spreadsheet application. E.g. using GetVarsCount and GetVarValue event handlers one can implement calculation of sum(a1:b4), avg(c1:c99) and similar function calls, where a1:b4 and c1:c99 are range of sheet cells.

Up


Delphi component  TMinimizer (Download...)

TMinimizer - nonvisual Delphi component for scientific calculation. It implements several methods of local minimization. The objective function can be specified in symbolical form.

Methods implemented:

  • Rosenbrock method
  • Quasi-Newton algorithms (Davidon-Fletcher-Powell, Fletcher, Broyden)
  • Conjugate gradient algorithms (Fletcher-Reeves, Pshenichny, steepest descent)
  • Newton method

Also TMinimizer implements constrained optimization algorithm using penalty function.

Up



(c) Artem Parlyuk, 2005-2010