How can I automate getting the date of build into a constant visible to my code?

后端 未结 7 1369
太阳男子
太阳男子 2020-12-08 05:14

I would like to define in my code a constant holding the date on which the executable was built. I would naturally like to automate that process.

I know that I can w

相关标签:
7条回答
  • 2020-12-08 05:57

    If you use/have JCL then jclPEImage.PeReadLinkerTimeStamp() does what you're after. Old versions of Delphi didn't set the linker timestamp, but AFAIK new versions do (ie it seems to work OK with D2010).

    0 讨论(0)
提交回复
热议问题