News for March 2013

   
6 assorted snippets added to the Code Snippets Database
A rag-bag of six unrelated snippets has been added to the Code Snippets Database. The snippets are: GetDefaultPrinterName - returns name of any default printer on the computer; DirPurge - deletes a directory and all its contents; FileInProgramDir - returns the path to a given file, located in side the same directory as the program; SafeFreeEncoding - frees a TEncoding object unless it is one of the standard encodings; IsIEInstalled - checks if Internet Explorer is installed; EnglishColorName - returns the name of a known colour in American English.
27 March 2013
Released v3.0 of the Console Application Runner Classes
v3.0 of the Console Application Runner Classes project. The main change is the removal of the PJPipe, PJPipeFilters and PJFileHandler units following their inclusion in the recently released I/O Utility Classes project. The remaining PJConsoleApp unit has been prepared for use with Delphi XE2 and later - the code's dependence on the VCL has been removed to permit its use in both VCL and FireMonkey projects. In addition the code now compiles and works correctly with either 32 or 64 bit Windows targets. Demos have been tidied up and three new FireMonkey demo projects have been added.
25 March 2013
I/O Utility Classes now documented online
The documentation of the new I/O Utility Classes has now been completed in the DelphiDabbler wiki.
23 March 2013
New I/O Utility Classes Delphi Library project (v1.0.0)
A new "I/O Utilities Classes" project has been added the Delphi Library. This contains the PJPipe, PJFileHandle and PJPipeFilters units taken from the Console Application Runner Classes project. I've done this because these classes are of more general use than simply helping to interface with console applications. The units will be removed from the next release of the Console Application Runner Classes project. The units have been updated to work correctly with both the Windows 32 and 64 bit Delphi XE2 and later compilers. The code is suitable for use with both VCL and FireMonkey projects.
21 March 2013
New 3rd party "PrintScreen01" program.
PrintScreen01 has been added to the 3rd party programs page. This program, by Bill Hall, is a simple utility that allows rapid copying (and saving to file) of any desktop screenshots. Full source code is included.
16 March 2013
Four new tips from the former Delphi Pool
Four new tips from the former Delphi Pool website have been added to the Delphi Tips database, starting from tip #214. They are: tip #214, "How to create a GUID"; tip #215, "How to create a greyscale palette"; tip #216, "What is a DispInterface?" and tip #217, "The purpose and use of DispInterface".
13 March 2013