PRB: RC Does Not Support __DATE__ or __TIME__
PSS ID Number: Q105584
Article last modified on 04-23-1994

3.10

WINDOWS NT


----------------------------------------------------------------------
The information in this article applies to:

 - Microsoft Win32 Software Development Kit (SDK) for Windows NT
   version 3.1
----------------------------------------------------------------------

SYMPTOMS
========

The resource compiler (RC) included with the Win32 Software Development Kit
(SDK) does not support the predefined symbols __DATE__ or __TIME__.
Previous versions of the resource compiler accepted these symbols.

CAUSE
=====

It is not intended that the resource compiler support these symbols.
Previous versions of RC used the C/C++ 7.0 preprocessor, which supported
these symbols.

RESOLUTION
==========

If code that uses this symbol is in a header file, place the following
around the individual statements that use them:

   #ifdef RC_INVOKED

Additional reference words: 3.10
KBCategory: Prg
KBSubcategory: TlsRc

=============================================================================

Copyright Microsoft Corporation 1994.
