Delphi - Unit x was compiled with a different version of x, when fixing a VCL bug
问题 I am using Delphi XE6 and using Datasnap and JSON in my project. There is a bug I want to correct in the VCL unit System.JSON.pas (in the TJSONString.ToString function) where it should be escaping backslash characters as well as quotes. In order to fix this I carried out the following : Copied System.JSON.pas from the standard VCL source folder to my project source folder Added System.JSON.pas to my project (using the newly copied file) Fixed the bug and attempted to compile I get the error