|
Anthemion Software Code Attic |
A collection of free C++ source code, written by myself except where otherwise stated. This is old stuff, much of it dating back to when I was still using MFC.
Undo framework
A little framework for implementing Undo/Redo in MFC applications. It consists of two
classes, CCommand and CCommandProcessor. The supplied example is a doodling program
with two undoable/redoable actions: Add segment, and Cut segment.
Download mfccmd.zip (92,594 bytes).
DDE classes
Download mfcdde.zip (54,187 bytes).
CImage 1.4
An MFC class for manipulating images: JPEG/BMP/PNG saving and loading, GIF loading, and iteration
over the image data.This is a conversion to MFC from code collated and developed by Alejandro Aguilar-Sierra.
N.B. There are some bugs when saving/loading some file formats, and it's unlikely I'll be able to answer detailed technical questions.
Download cimage.zip (745,651 bytes).
CTimer
Download ctimer.zip (14,343 bytes).
CExpr
Do you ever get a little frustrated with maintaining binary file formats? Things like not being able to edit your data files in a text editor, or the trouble it takes to maintain changes in your file formats. This class makes prototyping file formats a lot easier and more maintainable than using MFC serialisation, allowing you to save a file of 'objects' with named attribute/value pairs. If you need to add or remove attributes in the next version of your application, old files are still easily readable without loads of if statements.
The Book is a nice address book application that uses CExpr to store its data files.
Download cexpr.zip (139,866 bytes)
Download
CEnhStatusBar
Download enhstbar.zip (89,782 bytes)
CSpeech 1.0
There is a sporadic crash-on-exit bug - COM programmers, please help me debug this!
CSpeech may be redundant now that SAPI comes with C++ classes.
Download cspeech.zip (80,914 bytes)
wxTTS 2.0
See also my Speech Page, a start at collecting relevant thoughts and links.
Download wxtts2.zip (773,957 bytes)
CTaskBarIcon 1.1
Download taskbar.zip (33,795 bytes)
CRegistry 1.0
Download registry.zip (20,256 bytes)
wxNL
Download from here.
Tex2RTF
Tex2RTF can help you document your C++ libraries or applications. It
translates from a subset of LaTeX to WinHelp RTF, word processor RTF, HTML, MS HTML Help, wxWidgets
HTML Help. The WinHelp documentation for the MFCCMD library above was generated by Tex2RTF.
See the Tex2RTF Home Page.