Hi,
Michael John Phillips is a friend of mine for over 3 decades and he is an unemployed Delphi communications programmer living in Canberra, Australia. He writes excellent and well documented code and below is a link to his Vortex unit. It is a mix of pascal and assembler for Windowszzzz.
I am keen to use as much of it as practical for Lazarus cross platform work. The reason why I don't want to port it myself is cos my assembler knowledge is terrible and I don't want to cock-up Michael's excellent work.
The vortex unit and other Delphi and pascal units found on the link at the bottom of this email are truly worthy of conversion... with one caveat -- we need to use compiler switches to exclude functions & procedures with assembler code from non-Windows systems.
------------------------
Vortex
This unit contains various routines that I use regularly in the software I write.
This includes routines to UpperCase, LowerCase, and Capitalise strings;
reading / writing disk sectors; searching a drive for a particular file;
copying a file; to name a few.________________________________________________________________________ Unit Vortex;
{---------------------------------------------------------------------------} { Author : Michael John Phillips } { Address : Unit 53 / 3 Waddell Place } { Curtin ACT 2605 } { Tel : +61 (2) 6281-1980 } { Fax : +61 (2) 6281-1980 } { Mob : 0417 264319 } { Email : } {---------------------------------------------------------------------------} { 17 Mar 2002 MJP Added TV_StopWatch routine. } { 13 Apr 2002 MJP Added StringReplace routine. } { 04 May 2002 MJP Added IncludeTrailingBackslash, } { ExcludeTrailingBackslash and GetTempFileName } { routines. } { 28 May 2002 MJP Added V_GetComputerName routine. } { 11 Jun 2002 MJP Renamed GetTempFileName to V_GetTempFileName to match } { the equivalent routine I have in my Delphi version of } { the Vortex routines. } {---------------------------------------------------------------------------}
http://members.pcug.org.au/~mphillip/T_INDEX.HTM
Peter
