65.9K
CodeProject is changing. Read more.
Home

Time Stamp Add-In for Visual C++

starIconstarIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIcon

2.60/5 (2 votes)

Jun 22, 2001

viewsIcon

71662

downloadIcon

980

This Add-In automatically adds the last modified date and time to a file

Introduction

This Add-in sets the last modified date and time, and user and computer name to modify this document. After the Add-In is run your document will look like:

// Document modified at : Wednesday, May 08, 2002 05:15:47 PM , by user : Pavel Sokolov from computer : CREA7OR
// CEHelper.h: interface for the CEHelper class.
#if !defined( AFX_CEHELPER_H__8B5D375C_48C3_4CC1_AB7D_47059B0E9637__INCLUDED_ )
#define AFX_CEHELPER_H__8B5D375C_48C3_4CC1_AB7D_47059B0E9637__INCLUDED_

The Add-In uses two files:

  • ETSA.dll.FileNames.txt
  • ETSA.dll.FileExtensions.txt

These files must be placed in Add-In folder in DevStudio (along with etsa.dll)

  • ETSA.dll.FileNames.txt - Contains the names of files in which the line with date and time should not be added.
  • ETSA.dll.FileExtensions.txt - Contains extensions of files in which the line with date and time should not be added.