Why are my units “compiled with a different version” of my own files?

前端 未结 14 1912
误落风尘
误落风尘 2020-12-16 16:22

I\'m building a program that uses plugins. Unfortunately, the plugin framework\'s dynamic linking forces the RTL and VCL out of my project EXE and into the BPL versions, an

相关标签:
14条回答
  • 2020-12-16 17:17
    1. Your actual .dpr file contains a reference to an incorrect version of a .pas file.

      View > Project Manager > expand tree and examine the path of all the units.

    2. There is a duplicate file in the list of search paths, and the incorrect version is found first

    0 讨论(0)
  • 2020-12-16 17:18

    For future reference, simply pointing the compiler to source-code versions of the "problem units" fixed this for me (i.e. adding the folders containing the source code to the search path).

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