DEF file syntax error in visual studio 2012

后端 未结 1 1905
囚心锁ツ
囚心锁ツ 2020-12-20 17:17

I have a vs project which wouldn\'t compile once I upgraded to visual studio 2012. Its a win32 dll project and it complains about the def file. This is the def file,

<
相关标签:
1条回答
  • 2020-12-20 17:51

    VERSION 3.1.4.1

    DEF files are old. Back in ye goode olde days, programmers only ever needed two version numbers, major and minor. The idea of adding a revision and build number was conjured by a manager, not a programmer. A build number, wtf?

    You'll have to settle for VERSION 3.1. And yes, that mistake got silently ignored for a very long time. Not anymore, the manager finally found out :)

    Use a version resource instead.

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