RAD Studio C++ application: Exception with dynamic_cast when memory protection is ON

Dear Support team,

I am facing an exception in my C++ application with dynamic cast used to cast base class pointer to derived class pointer. And it happens only when memory protection is ON in VmProtect options.
IDE: RAD Studio 10.2
Compiler: Clang

Kindly support me to solve this issue.
Thanks in advance.

We need a very simple example (original EXE+VMP files) that shows your problem.