Thanks for visiting ayrware - this site provides software, source code, utilities and technical articles for Windows® developers using C++, MFC or ATL.
All of the resources on this site can be downloaded and used without restriction but, if you do use any of the source code in a commercial product, please mention ayrware in the credits ...
Navon - a small application called Navon has been added to the Ayrware downloads page. This application allows data to be collected via Navon tasks, which will be familiar to those with a psychology research or teaching background. A description of how to configure Navon and it's associated test files can be viewed via the Ayrware Projects page.
GDI+ Double Buffering in MFC's CView Class - this article expands on an earlier double buffering article by presenting a more concrete example of the technique. This time, an MFC CView class is discussed, with particular emphasis being placed on the CView member functions which need to be modified.
Aurora RT - an updated version of Aurora RT is now available for download via the Ayrware downloads page. This release includes a fix for a minor bug affecting presentation file selection, new application help files and creation of a new InstallShield single file installer.
Recent AdditionsAyrware Projects - an new page, accessible via the navigation menu, has been added to the site. This page lists all projects developed by ayrware; additional project specific pages can be accessed which detail configuration and installation information.
Code Snippets - a 'snippets' page, again accessible via the navigation menu, has been added to the site. This page contains links to code samples which highlight use of a particular API or technology. Each code snippet has been extracted from production code and has only been altered to make it more readable on a web page.
GDI+ Double Buffering - performance has always been a concern for developers using GDI+, particularly where a large number of objects have to be rendered or the screen has to be refreshed upon receipt of a Windows paint message. This article highlights two techniques, double buffering and use of a cached bitmap, which can be used to increase the apparent performance of an application using GDI+.
Registry Free COM - restrictions imposed by Windows Vista's User Account Control are preventing dll registration information, during installation, from being recorded in the system registry. Registry free COM, as described in this article, reduces an application's reliance on the registry and eliminates the aforementioned installation issues.
Developer's Blog - a web blog has been added to the site which will be used to discuss C++ software development in general or other IT related issues. The blog may highlight particular aspects of ayrware source code not covered in the relevant article, or it may be used to post short code snippets which may be useful to the site visitor. The blog can be accessed via the DevBlog link, in the navigation menu, at the left of this page.
Using Microsoft's XML Parser - this article presents details of how to configure and use, in a C++ environment, Microsoft's XML Parser. Key elements of parser usage are highlighted via code snippets, which have been extracted from a 'bare bones' parser facade class, available via the ayrware downloads page.
ATL Event Sink - this article details, step by step, the creation of a simple event sink object which can be used with the ATL Timer, described in an earlier article. The event sink class, which is derived from the IDispEventImpl ATL class, handles a single event - the timer timeout notification. This sink class could easily be extended or modified to handle multiple event notifications.