-1

Recompiling a Delphi project in Delphi 10.1 Berlin, the system is throwing the following error at app startup:

The memory manager cannot be changed after it has been used

Why is that, and how do I fix it?

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770
LastManStanding
  • 158
  • 1
  • 9
  • Well, this issue has been posted to help Delphi programmers save time. This is a random behavior happening on Delphi Berlin 10.1 and madExcept 4.0.15. – LastManStanding Apr 28 '17 at 13:38

1 Answers1

0

I found the problem. It is not Delphi or the project code, a 3rd party 'MadExcept handler' is causing the error.

To solve the issue, I removed the previously compiled .dcu files from my dcu folder, and rebuilt the project.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770
LastManStanding
  • 158
  • 1
  • 9
  • 1
    This beats no relation to the question that was asked. There's no way that you could tell from the question that madExcept is involved. – David Heffernan Apr 25 '17 at 18:36