I'm in a project where I do not know why an access violation occurs when I try to open the program only in the Release mode, in the debug mode error does not appear.
The error happens in the call of the DoShow
function of VCL.Forms
.
The error apparently does not seem to be in my code since the error happens after FormShow
and before FormActivate
, what could it be?
update
I noticed that such a problem only occurs when in my project I set the Optimizer to On, what is the relationship thereof?