Click to open or copy the BLDREC project files.
BldRec records the following build information in a text file:
The sample also shows using the registry to persist a setting. BldRec was created with the ATL COM AppWizard. Support MFC was checked in the wizard, and then an Add-in object was added to the project with the ATL Object Wizard.
To build the sample
To run the add-in
Output of BldRec is similar to:
09:48:11 PM 02/19/98 : Build Started -- bldrec - Win32 Debug
09:48:25 PM 02/19/98 : 00:00:14 Build Finished! Errors=0, Warnings=0 -- bldrec - Win32 Debug
This sample demonstrates the following keywords:
CTimeSpan; CTime::GetCurrentTime; CTime::Format; CRegKey::QueryValue; CRegKey::Create; CRegKey::SetValue; addin; customize; IApplication; IConfiguration; IApplicationEvents