|
Spesso capita di dover prelevare informazioni relative a CPU e Dischi (fissi e
rimovibili). C'è parecchio materiale in circolazione al riguardo ma cxCPU e
cxDisk risultano una scelta efficace e semplice (si tratta in entrambi i casi di
un set di unit Delphi, nulla da installare, solo ed unicamente unit .pas da
includere nel proprio progetto).
Possono essere scaricati al seguente indirizzo
http://www.torry.net/authorsmore.php?id=1084
La descrizione presente è più che esauriente (non penso che sia proprio il
caso di imbastire un esempio, i sorgenti includono già degli esempi dimostrativi
e poi anche se non ci fossero basta aprire le unit che tra l'altro hanno dei
nomi molto significativi e le procedure ivi contenute sono anch'esse molto
intuitive; e poi se non bastasse c'è anche la documentazione in chm)
Carbonsoft cxCpu 4
v.4.2
467k
11 Aug 2004
By CarbonSoft. Carbonsoft cxCpu release 4 is the premier
processor identification toolkit for Borlandxae Delphi and Kylix providing a
comprehensive class library that allows developers to quickly identify x86 based
processors from all major vendors running on the Microsoft Windows and Linux
platforms.
Carbonsoft cxCpu delivers the most complete, multi vendor, processor
identification toolkit available. With full support for single and
multi-processor systems, cxCpu release 4 provides access to virtually all
information available via the CPUID instruction.
The information available includes:
* Processor name (via the Marketing Name feature, Brand identifier, or native
CPUID)
* Processor speed (actual, nominal, and optionally AMD performance rating)
* Processor usage (Microsoft Windows platform only)
* Cache availability, associativity, line size, and size (L1 code/data/unified,
L2, L3, and trace)
* Processor Serial Number (raw or formatted, as available)
* Feature availability, mnemonics, and descriptions (for all feature sets
including Transmeta)
* Processor vendor (identification string, feature set definition, cache model)
* Processor signature (standard and extended family, model, type, stepping, and
brand fields)
* CPUID availability and supported level (standard, extended, and transmeta)
* Processor errata (FDivBug, AMD Duron cache reporting bug).
Carbonsoft cxCpu 4 supports all Intel, AMD, Via/Cyrix, IDT, NexGen, UMC, Rise,
and Transmeta processors that implement the CPUID instruction which, as a
general rule, includes Pentium-class processors or later.
The standard package includes full source code for the cxCpu class library, VCL
and CLX example programs, and documentation in HtmlHelp (CHM) format. Other
documentation formats and precompiled demo programs available from the web site.
Carbonsoft cxDrive
v.1.0
24k
04 Apr 2004
By CarbonSoft. Carbonsoft cxDrive is an interface-based
class library for Borland Delphi that makes obtaining information about the
fixed and removable disks in a system both quick and simple.
Getting information about one or more of the disks in a system is a relatively
straightforward task. There are well documented functions in the Win32 API that
will tell you whatever you want to know. Carbonsoft cxDrive wraps these
functions into an easy to use class library that hides the complexity of the
underlying API calls allowing you to concentrate on getting the information you
want rather than the obscurities of the Win32 API.
The information available includes:
* Drive availability
* Drive type (removable, fixed, remote, CD-ROM, RAM)
* Drive name (as displayed in Windows Explorer)
* Space information (total, available, free, and used)
* Drive features and characteristics (reparse points, case sensitivity, etc)
* Volume information (path, volume name)
* Shell information (icon, name, type name).
The standard package includes full source code for the cxDrive class library and
a VCL example program.
Altro materiale per le info sulla CPU
CPUID 3.0
Una libreria di classi che gestisce in pieno i processori Intel (sottolineo,
solo ed unicamente Intel) è la CPUID 3.0
http://cc.codegear.com/Item/21103
Local Mirror
FastCodeCPUID
La FastcodeCPUID è una unit .pas che fa parte del progetto Freeware/OpenSource
denominato GPU: si tratta di una unit
che restituisce info generali sulla CPU; un link diretto (senza doversi
scaricare i sorgenti di GPU) può essere il seguente
http://www.koders.com/delphi/fid99671B938612994DAFE3143333295D097EB34D65.aspx?s=FastcodeCPUID
In ogni caso mi sono fatto una copia
Local Mirror
|