PDA

View Full Version : Pragma RELEASEDATE



NewsArchive
06-23-2011, 01:45 AM
Hi Friedrich,

what is the Pragma RELEASEDATE good for?

Markus

NewsArchive
06-23-2011, 01:45 AM
Markus,

>
> what is the Pragma RELEASEDATE good for?
>

You only need this #pragma if you support the setupPROTECT "subscription
key" feature in your setup.

By default, the compiler adds the current date to the setup.exe. This date
stamp is used to validate "subscription keys". The RELEASEDATE #pragma can
be used to set the release date to a date other than the current date. For
example, you release a "hot-fix" for a customer who has an expired
subscription key. Then you can use this #pragma to "back date" the compile
date and the customer with the expired subscription can apply the fix.

Friedrich